vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| When trying to set-up a printer with SunPCi II and Windows XP professional, two lines get added to the top of the print file confusing the postscript printer: %-12345X@PJL JOB @PJL ENTER LANGUAGE = Postscript %!PS-Adobe-3.0 .. .. .. Adding these two lines to a working solaris-generated postscript file results in the same recognition problem, so I'm pretty sure this is where the XP problem is. The system configuration is: SPARC/Solaris 9 with SunPCi II card (2.3 software) networked to Solaris 7 intel box. The intel box has the Lexmark c720 connected via parallel port. All SPARC printing works fine from Solaris. All Intel box printing works fine from Solaris. The postscript Windows drivers loaded on the SunPCi/XP side came from Lexmark. My next step is to try to attach the printer directly to the SPARC to see what happens, but if anyone has seen this before, you could save me some debug time. Any ideas? Dave |
| |||
| In article <3FB9589F.B9EE58D7@earthlink.net>, Dave Johnson <jsqurd@earthlink.net> wrote: >When trying to set-up a printer with SunPCi II and Windows XP >professional, >two lines get added to the top of the print file confusing the >postscript >printer: > >%-12345X@PJL JOB >@PJL ENTER LANGUAGE = Postscript >%!PS-Adobe-3.0 .... >Any ideas? > >Dave The lp program on Solaris recognizes PostScript files by looking for %! or ^D%! at the beginning of the file. It DOES NOT use the file command or any other smarts. The 'ESC%-12345' HP PCL stuff added by the PC side confuses lp. As far as lp is concerned, if it's not PostScript, it's text, so it converts the file to PostScript using postprint. There may be a more elegant solution ... but what I did is: I worked around this on my solaris 8 box by doing a binary edit of /usr/lib/lp/local/lp, finding the sequence control-D % ! and replacing it with escape % - It only occurs once in the file. Do the same change to /usr/lib/print/bsd-adaptor/bsd_lpsched.so if you want to print PC postscript files using solaris' BSD print daemon. Franco -- Franco Barber feb AT febsun DOT cmhnet DOT org |
| |||
| Dave Johnson <jsqurd@earthlink.net> writes: > When trying to set-up a printer with SunPCi II and Windows XP > professional, > two lines get added to the top of the print file confusing the > postscript > printer: > > %-12345X@PJL JOB > @PJL ENTER LANGUAGE = Postscript > %!PS-Adobe-3.0 > . > . > . A possible workaround is to lie to windows, and configure some really old postscript printer on windows; a postscript printer that was manufactured before HP invented this "PJL" stuff to switch between different printer command sets. Try one of the "Apple Laserwriter" entries, for example. |
| ||||
| Good tip. The Apple Color LW 12/660 PS worked for the C720. Thanks, Dave Juergen Keil wrote: > > Dave Johnson <jsqurd@earthlink.net> writes: > > > When trying to set-up a printer with SunPCi II and Windows XP > > professional, > > two lines get added to the top of the print file confusing the > > postscript > > printer: > > > > %-12345X@PJL JOB > > @PJL ENTER LANGUAGE = Postscript > > %!PS-Adobe-3.0 > > . > > . > > . > > A possible workaround is to lie to windows, and configure some really > old postscript printer on windows; a postscript printer that was > manufactured before HP invented this "PJL" stuff to switch between > different printer command sets. Try one of the "Apple Laserwriter" > entries, for example. |