I'm having trouble printing to a HP LaserJet 6MP Postscript printer. I'm using CUPS and normal UNIX printing works fine. I've tried to configure SAMBA for point and click printing. That all seemed to go okay except that what is printed is: ====================================================-12345X@PJL JOB @PJL SET RESOLUTION = 600 @PJL SET ECONOMODE = OFF @PJL ENTER LANGUAGE = POSTSCRIPT ====================================================followed by all of the raw Postscript commands. I think it is the "-12345X" at the beginning of the output that is confusing the printer. I'm using Fedora Core 2, CUPS 1.1.20, and SAMBA 3.0.3. My smb.conf file has ==================================================== printcap name = cups load printers = yes # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = cups ==================================================== SAMBA is compiled against the CUPS API. I've tried both the CUPS RAW and Postscript queues. I've uncommented the appropriate lines in the CUPS config files for raw output (mime.types and mime.convs) Can anyone provide any help? Thanks, Tony Richardson
Richardson, Anthony wrote:>I'm having trouble printing to a HP LaserJet 6MP >Postscript printer. I'm using CUPS and normal >UNIX printing works fine. > >I've tried to configure SAMBA for point and click >printing. That all seemed to go okay except that >what is printed is: >====================================================>-12345X@PJL JOB >@PJL SET RESOLUTION = 600 >@PJL SET ECONOMODE = OFF >@PJL ENTER LANGUAGE = POSTSCRIPT >====================================================>followed by all of the raw Postscript commands. >I think it is the "-12345X" at the beginning of >the output that is confusing the printer.Two suggestions come to mind : 1) Edit the ppd file and remove the entries that cause this code to be sent or (better) 2) configure the printer without auto-detect of language I've had similar problems with some other makes of printer so I normally just configure all printers as Postscript only - then some f***ing clueless software vendor comes along and only supports PCL :-( Simon -- Simon Hobson MA MIEE, Technology Specialist Colony Gift Corporation Limited Lindal in Furness, Ulverston, Cumbria, LA12 0LD Tel 01229 461100, Fax 01229 461101 Registered in England No. 1499611 Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
Are you using the postscript cups-samba drivers?> I'm having trouble printing to a HP LaserJet 6MP > Postscript printer. I'm using CUPS and normal > UNIX printing works fine.
Jim C.wrote:> Are you using the postscript cups-samba drivers? > > > I'm having trouble printing to a HP LaserJet 6MP > > Postscript printer. I'm using CUPS and normal > > UNIX printing works fine.Do you mean, am I using samba with libcups support and is the cups postscript driver being used? Yes to libcups. I tried cups configured with both the postscript and raw drivers, but the effect was the same. Everything started working when I added: cups options = "raw" Tony Richardson