Andy Crichton
2002-Mar-20 06:59 UTC
[Samba] printing to network postscript printer gives ascii output of postscript job
solaris 7 with samba 2.0.7 I already have several network printers on the box which work fine (although I didn't set them up) I used the following commands to configure the printer under solaris lpadmin -p NAME_OF_PRINTER -o protocol=bsd,dest=IP_ADDR -v /dev/null -m netstandard -T PS _I postscript enable NAME_OF_PRINTER accept NAME_OF_PRINTER if I print using lp it works fine however I installed the postscript printer drivers for the machine on a win98 box and printed through samba, the output consisted of the postscript source in ascii. The only entry in the smb.conf mentioning printing is [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No Thanks for any ideas Andy Crichton p.s. the printer is a danka 4220 MF but I presume this isn't the cause. __________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. The contents are confidential and may be privileged. Any views or opinions expressed are those of the sender and may not reflect the views or opinions of the company and the company accepts no liability in respect thereof. If you have received this email in error please notify postmaster@abibuildingdata.com immediately. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Herb Lewis
2002-Mar-20 10:33 UTC
[Samba] printing to network postscript printer gives ascii output of postscript job
Andy Crichton wrote:> > solaris 7 with samba 2.0.7 > > I already have several network printers on the box which work fine (although > I didn't set them up) > I used the following commands to configure the printer under solaris > lpadmin -p NAME_OF_PRINTER -o protocol=bsd,dest=IP_ADDR -v /dev/null -m > netstandard -T PS _I postscript > enable NAME_OF_PRINTER > accept NAME_OF_PRINTER > > if I print using lp it works fine however I installed the postscript printer > drivers for the machine on a win98 box and printed through samba, the output > consisted of the postscript source in ascii. The only entry in the smb.conf > mentioning printing is > [printers] > comment = All Printers > path = /var/spool/samba > guest ok = Yes > printable = Yes > browseable = No > > Thanks for any ideas > Andy Crichton > > p.s. the printer is a danka 4220 MF but I presume this isn't the cause. >I don't know about that particular driver but some drivers send some non-postscript commands at the beginning of the file that confuse the printing system into thinking it is a text file. Take a look at the script packaging/SGI/sambalp in the samba source directory for an example of how to fix this. You will have to change the lpcommand variable and other paths if you are not using SYSV printing. The important stuff is in the "if ($PSFIX)" section. -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
Tykodi, Paul
2002-Mar-20 13:16 UTC
[Samba] printing to network postscript printer gives ascii output of postscript job
Dear Andy, The phenomenon or printing the PostScript source rather than the result of the commands normally occurs when PostScript data is created (in your case by the Windows 98 print driver) and then passed through a second PostScript driver. Frequently the second driver will convert the ready for the printer PostScript data into a format that creates the readable PostScript source format at the printer. My guess is that the Samba link to the print driver description on the Solaris box includes some PostScript conversion capability at some step which converted the format of the PostScript file coming from Win 98. HTH Best Regards, /Paul -- Paul Tykodi National Product Manager LCI-Intermate US, Inc. p: 603.431.0606 x115 f: 603.436.6432 paul@intermate-us.com www.intermate.com>From: "Andy Crichton" <andy.crichton@abibuildingdata.com> >To: <samba@lists.samba.org> >Date: Wed, 20 Mar 2002 14:58:00 -0000 >Subject: [Samba] printing to network postscript printer gives ascii outputof postscript >job> >solaris 7 with samba 2.0.7 > >I already have several network printers on the box which work fine(although>I didn't set them up) >I used the following commands to configure the printer under solaris >lpadmin -p NAME_OF_PRINTER -o protocol=bsd,dest=IP_ADDR -v /dev/null -m >netstandard -T PS _I postscript >enable NAME_OF_PRINTER >accept NAME_OF_PRINTER > >if I print using lp it works fine however I installed the postscriptprinter>drivers for the machine on a win98 box and printed through samba, theoutput>consisted of the postscript source in ascii. The only entry in the smb.conf >mentioning printing is >[printers] > comment = All Printers > path = /var/spool/samba > guest ok = Yes > printable = Yes > browseable = No > >Thanks for any ideas >Andy Crichton > >p.s. the printer is a danka 4220 MF but I presume this isn't the cause.