Printer initialization String Eatten?!?!

Darek triforcian at gmail.com
Mon Sep 22 07:21:34 PDT 2008


> > Post the first ten lines of one of your print jobs.
> > -Rick
> >
> > Darek wrote:
> > > So to give a little background on the process.  We run oracle apps on a sun hardware platform using sol9.  I used the default LP utilities and all works well.  Since then I have another instance running sol10 and I decided to install CUPS to service my printing needs.  Printers are configured using ppd drivers I found of the site.  (They are on jetdirects (external/internal) configured using the appSocket/HP JetDirect for device. Not every Jetdirect appeared with IP addy in the selection so I used that).  The printers seem to process jobs just fine.  Except when it comes to formatting.  Oracle sends init strings to the jobs which formats them in a certain way (Font Size, Type, etc) and this gets neglected.  I also have some files that i have init codes hard coded right at the beginning of the file and those get sent to the printer and they actually print as part of the job not interpreted.
> > >
> > > I tried to modify the /opt/sfw/cups/etc/cups/mime.convs file to eliminate filters. I just changed textops in text/plain to a -.
> > >
> > > I tried to use raw instead of print drivers.
> > >
> > > I looked into the setups with cups on the printers themselves and I don't see anything about forcing a font size. (this wouldn't necessarily solve the problem).
> > >
> > > I tried to find someone else with this problem and I really didn't find anything out there.  So it leads me to believe I have a unique problem, or I don't know how to use keywords in searches.  Perhaps i'm just looking in the wrong places.
> > >
> > > I dunno whats happening but I have a feeling I don't know something on PostScript and how that is integrated with PCL.  Or just that the lp cmd has been changed to ignore those init strings. I'm no printing expert. :(
> > >
> > > CUPS Version 1.2.12
> > >
> > > Below is just a log entry showing the job go through the queue.
> > >
> > > I [17/Sep/2008:16:00:50 +0600] Job 147 queued on "1_it_gen" by "dbaone".
> > > I [17/Sep/2008:16:00:50 +0600] Started filter /opt/sfw/cups/lib/cups/filter/texttops (PID 10040) for job 147.
> > > I [17/Sep/2008:16:00:50 +0600] Started filter /opt/sfw/cups/lib/cups/filter/pstops (PID 10041) for job 147.
> > > I [17/Sep/2008:16:00:50 +0600] Started backend /opt/sfw/cups/lib/cups/backend/socket (PID 10042) for job 147.
> > >
> > > I would appreciate any feedback.
> > >
> > > Thank You,
> > >
> > > Darek
> > >
> > > _______________________________________________
> > > cups mailing list
> > > cups at easysw.com
> > > http://lists.easysw.com/mailman/listinfo/cups
> >
> I figure you are looking at these init strings.  I used vi to see the strings. Here is a copy paste.
> ^[&l1O
> ^[&a4L
> ^[&k4SREPORT DATE: 11-DEC-2006 02:59
>
>                                          PICK SLIP# 4879344 - PAGE 1
>
> ORDER: 1312180                                                                                    PICK BATCH: 9456235
> CUSTOMER PO: 84567546876                                                                           WAREHOUSE: AZ
> BLAH BLAH
> 12432691/8HC7644200
>
> FYI: I took this file which contained these init strings and copied it to both my systems (CUPS vs Std sol9 Printing).  Then i sent the job to the same printer both configured on the individual systems themselves and formatting was lost on the CUPS host.



I just realized I double posted this.  Can an Admin please remove this.  Thank You.  Sorry about the double post it was an accident. :(




More information about the cups mailing list