|
|
#1 |
|
Prospect
Join Date: May 2002
Location: Japan
Posts: 11
|
How can I print from XDarwin?
How can I set up Mozilla or other Unix-based apps to find my printer? I'm using XDarwin, HP JetDirect 300X (IP address is at 192.168.1.2), and a HP LaserJet 2100M. The 300X is ethernet based from the computer, and parallel to the printer.
I'm new to Unix so please respond accordingly. Thanks! |
|
|
|
|
|
#2 |
|
Triple-A Player
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 185
|
Get CUPS or wait
CUPS will provide printing facilities in 10.2. However, you can download it yourself, compile it and see what happens (I was unable to have my Epson 740i to work, but that does not mean you can't get it to work especially with IP printing which seems to be your case).
Get it at www.cups.org Before running ./configure and build everything, you have to run autoconf in the main directory.
__________________
Novajo |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Untmdsprt,
As Novajo said you can install CUPS or wait for 10.2. You can also install CUPS version 1.1.14-1 with Fink. (in unstable) The MAC OSX Unleashed book explains how to drive a remote laserprinter from Terminal app. (and, by implication, from XDarwin) but this does not work for USB printers connected to a USB port on a Mac .(You can use USB printer sharing in MacOS 9, but only from another Mac under MacOS 9 and Classic in OSX, not from Aqua in OSX) What you can do is print to a file and send this to the printer using an Aqua application like Preview or Acrobat Reader for pdf files or some MacGhostView or other for ps files. (or ps2pdf and then Preview). Small info on printing from the command line: You can print in command line with the atprint command (Apple Talk Print). You can set up appletalk printers from Darwin by running at_cho_prn as root: sudo at_cho_prn Then, choose your default printer. Then you can run atprint. This can be done both from terminal windows and from xterms, of course. atprint will take a postscript file in argument and send it to the printer: % a2ps file.txt -o - | atprint or % man man | enscript -p- | atprint or % groff -mandoc /sw/share/man/man1/man.1 | atprint Also, if you declare the printer in netinfo (see 'man 5 netinfo'), you can use the command 'lpr' for command line printing (see man lpr). Cheers... |
|
|
|
|
|
#4 |
|
Prospect
Join Date: May 2002
Location: Japan
Posts: 11
|
Thanks for info
I will probably just wait until 10.2 is out. No sense in messing anything up trying to get an unstable release to work.
|
|
|
|
|
|
#5 |
|
Prospect
Join Date: Sep 2003
Posts: 6
|
I tried filepath | atprint to our HP DesignJet 2500CP connected via Ethernet but get
/squid.jpg | atprint /squid.jpg: Permission denied. Looking for HP_2500CP:LaserWriter@*. Trying to connect to HP_2500CP:LaserWriter@*. atprint: printing on HP_2500CP:LaserWriter@*. I MUST NOT send PostScript or PDF (I use CUPS and Gimp-Print for this purpose - works excellent for me) I also tried socket://192.168.1.20:9100, but this can only be used with PostScript. Goal is to print/plot JPG and HPGL in native format (which seems to work on windows boxes). Any suggestions, please?
__________________
*System Requirements said Windows XP or better, so I bought a Mac.* |
|
|
|
![]() |
|
|