Popular Threads From Cups:
List Statistics
- Total Threads: 1538
- Total Posts: 2069
Phrases Used to Find This Thread
|
# 1

29-06-2011 07:11 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 2

29-06-2011 08:22 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 3

29-06-2011 09:12 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 4

30-06-2011 01:48 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 5

30-06-2011 03:40 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 6

30-06-2011 05:23 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 7

01-07-2011 03:04 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 8

05-07-2011 04:33 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 9

05-07-2011 05:25 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 10

05-07-2011 05:37 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 11

05-07-2011 05:59 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 12

05-07-2011 06:31 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 13

05-07-2011 07:37 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 14

06-07-2011 08:11 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> > Scott Hallenbeck wrote:
> > >> >
> > >> > >> Scott Hallenbeck wrote:
> > >> > >>
> > >> > >> >> Scott Hallenbeck wrote:
> > >> > >> >>
> > >> > >> >> > I am tasked with the getting these SLP450 label printers
> > >> > >> >> > working with CUPS
> > >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> > >> > >> >> > phasing out, and
> > >> > >> >> > they both print to the label printers without any issues. It
> > >> > >> >> > hasn't always been this way, and there was a large amount of
> > >> > >> >> > time spent by another technician, who is no longer here,
> > >> > >> >> > getting it to work, but unfortunately was never documented.
> > >> > >> >> >
> > >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> > >> > >> >> > the printer specific ppd's are also the same, as well as the
> > >> > >> >> > configurations in these printer specific ppd's.
> > >> > >> >> >
> > >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> > >> >> > through all 3 server, originating from the same place and
> > >> > >> >> > printing the same thing.
> > >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> > >> >> > complete..."
> > >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> > >> > >> >> > newest being different.
> > >> > >> >> >
> > >> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > and server 3, the newest running v 1.3.7:
> > >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > This stood out to me as being an obvious deviation. The first
> > >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> > >> > >> >> > through an empty label.
> > >> > >> >> >
> > >> > >> >> > I have attempted to change *LandscapeOrientation in the
> > >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> > >> > >> >> > hopes this would help, but seemed to make no difference.
> > >> > >> >> >
> > >> > >> >> > I even attempted to command line print with options
> > >> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> > >> >> > to see if this would fix the issue, and still blanks.
> > >> > >> >> >
> > >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> > >> > >> >> > perfect little test page on the label.
> > >> > >> >> >
> > >> > >> >> > The labels being sent are in PDF format, and I know the test
> > >> > >> >> > page is in a plain text format, so this leads me to believe
> > >> > >> >> > there is some sort of filtering missing or something, but I am
> > >> > >> >> > really at a loss where to go from here.
> > >> > >> >> >
> > >> > >> >> > Anyone have any suggestions?
> > >> > >> >> >
> > >> > >> >> > Thanks!
> > >> > >> >> > Scott
> > >> > >> >>
> > >> > >> >> Please tell how your label printer has been configured with CUPS,
> > >> > >> >> and, for a test print, set the log level to debug, do a test
> > >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> > >> > >> >> the error_log file that contains the messages related to the test
> > >> > >> >> job.
> > >> > >> >>
> > >> > >> >> Helge
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> > >> > Unfortunately I was not the one who set this up to start with. I
> > >> > >> > was told that the drivers (which you linked to in your second
> > >> > >> > post) were downloaded
> > >> > >> > and freshly compiled on the the new cups server. I do see a
> > >> > >> > directory in root home where the file has been extracted and
> > >> > >> > appears to have been compiled.
> > >> > >> >
> > >> > >> > Right now I do not have a record of a cups test page print from
> > >> > >> > the to the printer, but I did make files from test page prints
> > >> > >> > from our application server that is sending the label both on the
> > >> > >> > old (working) server and the new server. Both servers were set to
> > >> > >> > debug2 level before capturing them. Old Server that works :
> > >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> > >> >
> > >> > >> > Once one of the developers gets here and sets up the QA machine I
> > >> > >> > have been testing with, I can print a cups test print and capture
> > >> > >> > that as well, if you would still like to see that.
> > >> > >> >
> > >> > >> > Thank you for any assistance in this matter.
> > >> > >> > Scott
> > >> > >>
> > >> > >> In your second log file I found some strange messages:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [271 136]... which seems to be correct, but some messages later:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> > >> > >> correct page size and reverted to the default letter page size.
> > >> > >>
> > >> > >> To further trace it down I'd need the repsective PPDs from both
> > >> > >> machines.
> > >> > >>
> > >> > >> Helge
> > >> > >>
> > >> > >
> > >> > > Placed the PPD from the server printing blank labels here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >> > >
> > >> > > and the one that does work from the older server here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >> > >
> > >> > > Let me know if you have any issues getting to them.
> > >> > > Scott
> > >> >
> > >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> > >> > based
> > >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> > >> > configuration file named xpdfrc (don't know in what directory it should
> > >> > lie, it depends on the buidling options, but probably in /etc or
> > >> > /etc/cups). That file should contain the directive
> > >> > psPaperSize match
> > >> > (the default is letter). This directive forces the generated PostScript
> > >> > to retain the page size defined by the (first page) of the PDF file.
> > >> >
> > >> > If that won't work, you could try one of the following options:
> > >> > (1) replace the pdftops filter by the alternate pdftops filter as
> > >> > described on the links at www.cups.org
> > >> > (2) replace the pstoraster filter by the gstoraster filter as described
> > >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> > >> > file accordingly).
> > >> >
> > >> > Helge
> > >> >
> > >>
> > > Thank you for this response.
> > > I could not locate xpdfrc or anything related to that. However I do no
> > > believe xpdf is even installed, and most likely because X is not installed
> > > on the server either.
> > > I wasn't sure what the alternate pdftops filter was that you were
> > > referring to, as all I could find was a wrapper script. Is that what you
> > > meant?
> > >
> > > I DID replace the pstoraster filter, as I found that and I could easily
> > > follow the instructions. This seems to have corrected the issues with the
> > > SLP450 Label printers. I am hoping it has no negative effect on the other
> > > printers we are using, but so far, I do not see it being used a lot.
> > >
> > > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > > job queue, and cups displays "Ghostscript exited with value 1" for the
> > > printer after each label prints... Any suggestions here? ___>
> > >
> > > Can you send me a link to the "alternate pdftops filter as described on
> > > the links at www.cups.org" please? I am curious if that would resolve and
> > > issue I am having with p3005 printers.
> > >
> > > Thanks again for your help!
> > >
> > > Scott
> >
> > Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> > I'll dig into it.
> >
> > Helge
> >
>
> Emailed you from my gmail account, please feel free to reply there.
> Thanks.
> Scott
Ok, turning off the error reporting in the script worked fine. Only issue I have now is that the fonts are not correct, and need to be fixed.
Tried and tried to get the 'xpdfrc' file fix that you recommended to work, but it seems no matter where I put it, it has no effect. I put it in /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL documentation which is apparently incorrect anyway) and it has no effect.
I looked at the alternate pdftops script you directed me to, but was unsure just what to do with the file, and since it's a live production server I am not into experimenting to figure it out. And since it seems, from what I can tell, it would be a global wide change, I wasn't sure what other implications it might have.
I feel I am close as the labels do print, but the fonts are not correct, so if I can figure that part out, I will have it.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 15

06-07-2011 08:59 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> > Scott Hallenbeck wrote:
> > >> >
> > >> > >> Scott Hallenbeck wrote:
> > >> > >>
> > >> > >> >> Scott Hallenbeck wrote:
> > >> > >> >>
> > >> > >> >> > I am tasked with the getting these SLP450 label printers
> > >> > >> >> > working with CUPS
> > >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> > >> > >> >> > phasing out, and
> > >> > >> >> > they both print to the label printers without any issues. It
> > >> > >> >> > hasn't always been this way, and there was a large amount of
> > >> > >> >> > time spent by another technician, who is no longer here,
> > >> > >> >> > getting it to work, but unfortunately was never documented.
> > >> > >> >> >
> > >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> > >> > >> >> > the printer specific ppd's are also the same, as well as the
> > >> > >> >> > configurations in these printer specific ppd's.
> > >> > >> >> >
> > >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> > >> >> > through all 3 server, originating from the same place and
> > >> > >> >> > printing the same thing.
> > >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> > >> >> > complete..."
> > >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> > >> > >> >> > newest being different.
> > >> > >> >> >
> > >> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > and server 3, the newest running v 1.3.7:
> > >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > This stood out to me as being an obvious deviation. The first
> > >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> > >> > >> >> > through an empty label.
> > >> > >> >> >
> > >> > >> >> > I have attempted to change *LandscapeOrientation in the
> > >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> > >> > >> >> > hopes this would help, but seemed to make no difference.
> > >> > >> >> >
> > >> > >> >> > I even attempted to command line print with options
> > >> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> > >> >> > to see if this would fix the issue, and still blanks.
> > >> > >> >> >
> > >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> > >> > >> >> > perfect little test page on the label.
> > >> > >> >> >
> > >> > >> >> > The labels being sent are in PDF format, and I know the test
> > >> > >> >> > page is in a plain text format, so this leads me to believe
> > >> > >> >> > there is some sort of filtering missing or something, but I am
> > >> > >> >> > really at a loss where to go from here.
> > >> > >> >> >
> > >> > >> >> > Anyone have any suggestions?
> > >> > >> >> >
> > >> > >> >> > Thanks!
> > >> > >> >> > Scott
> > >> > >> >>
> > >> > >> >> Please tell how your label printer has been configured with CUPS,
> > >> > >> >> and, for a test print, set the log level to debug, do a test
> > >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> > >> > >> >> the error_log file that contains the messages related to the test
> > >> > >> >> job.
> > >> > >> >>
> > >> > >> >> Helge
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> > >> > Unfortunately I was not the one who set this up to start with. I
> > >> > >> > was told that the drivers (which you linked to in your second
> > >> > >> > post) were downloaded
> > >> > >> > and freshly compiled on the the new cups server. I do see a
> > >> > >> > directory in root home where the file has been extracted and
> > >> > >> > appears to have been compiled.
> > >> > >> >
> > >> > >> > Right now I do not have a record of a cups test page print from
> > >> > >> > the to the printer, but I did make files from test page prints
> > >> > >> > from our application server that is sending the label both on the
> > >> > >> > old (working) server and the new server. Both servers were set to
> > >> > >> > debug2 level before capturing them. Old Server that works :
> > >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> > >> >
> > >> > >> > Once one of the developers gets here and sets up the QA machine I
> > >> > >> > have been testing with, I can print a cups test print and capture
> > >> > >> > that as well, if you would still like to see that.
> > >> > >> >
> > >> > >> > Thank you for any assistance in this matter.
> > >> > >> > Scott
> > >> > >>
> > >> > >> In your second log file I found some strange messages:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [271 136]... which seems to be correct, but some messages later:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> > >> > >> correct page size and reverted to the default letter page size.
> > >> > >>
> > >> > >> To further trace it down I'd need the repsective PPDs from both
> > >> > >> machines.
> > >> > >>
> > >> > >> Helge
> > >> > >>
> > >> > >
> > >> > > Placed the PPD from the server printing blank labels here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >> > >
> > >> > > and the one that does work from the older server here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >> > >
> > >> > > Let me know if you have any issues getting to them.
> > >> > > Scott
> > >> >
> > >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> > >> > based
> > >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> > >> > configuration file named xpdfrc (don't know in what directory it should
> > >> > lie, it depends on the buidling options, but probably in /etc or
> > >> > /etc/cups). That file should contain the directive
> > >> > psPaperSize match
> > >> > (the default is letter). This directive forces the generated PostScript
> > >> > to retain the page size defined by the (first page) of the PDF file.
> > >> >
> > >> > If that won't work, you could try one of the following options:
> > >> > (1) replace the pdftops filter by the alternate pdftops filter as
> > >> > described on the links at www.cups.org
> > >> > (2) replace the pstoraster filter by the gstoraster filter as described
> > >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> > >> > file accordingly).
> > >> >
> > >> > Helge
> > >> >
> > >>
> > > Thank you for this response.
> > > I could not locate xpdfrc or anything related to that. However I do no
> > > believe xpdf is even installed, and most likely because X is not installed
> > > on the server either.
> > > I wasn't sure what the alternate pdftops filter was that you were
> > > referring to, as all I could find was a wrapper script. Is that what you
> > > meant?
> > >
> > > I DID replace the pstoraster filter, as I found that and I could easily
> > > follow the instructions. This seems to have corrected the issues with the
> > > SLP450 Label printers. I am hoping it has no negative effect on the other
> > > printers we are using, but so far, I do not see it being used a lot.
> > >
> > > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > > job queue, and cups displays "Ghostscript exited with value 1" for the
> > > printer after each label prints... Any suggestions here? ___>
> > >
> > > Can you send me a link to the "alternate pdftops filter as described on
> > > the links at www.cups.org" please? I am curious if that would resolve and
> > > issue I am having with p3005 printers.
> > >
> > > Thanks again for your help!
> > >
> > > Scott
> >
> > Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> > I'll dig into it.
> >
> > Helge
> >
>
> Emailed you from my gmail account, please feel free to reply there.
> Thanks.
> Scott
Ok, turning off the error reporting in the script worked fine. Only issue I have now is that the fonts are not correct, and need to be fixed.
Tried and tried to get the 'xpdfrc' file fix that you recommended to work, but it seems no matter where I put it, it has no effect. I put it in /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL documentation which is apparently incorrect anyway) and it has no effect.
I looked at the alternate pdftops script you directed me to, but was unsure just what to do with the file, and since it's a live production server I am not into experimenting to figure it out. And since it seems, from what I can tell, it would be a global wide change, I wasn't sure what other implications it might have.
I feel I am close as the labels do print, but the fonts are not correct, so if I can figure that part out, I will have it.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
[...]
>
> Ok, turning off the error reporting in the script worked fine. Only issue
> I have now is that the fonts are not correct, and need to be fixed.
>
> Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> but it seems no matter where I put it, it has no effect. I put it in
> /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> documentation which is apparently incorrect anyway) and it has no effect.
>
> I looked at the alternate pdftops script you directed me to, but was
> unsure just what to do with the file, and since it's a live production
> server I am not into experimenting to figure it out. And since it seems,
> from what I can tell, it would be a global wide change, I wasn't sure what
> other implications it might have.
>
> I feel I am close as the labels do print, but the fonts are not correct,
> so if I can figure that part out, I will have it.
>
> Scott
As for the fonts, there is nearly nothing what can be done but installing
all the needed fonts, as obviously the needed fonts are not embedded
in the PDFs you print.
See if you have a utility named pdffonts; if yes, run
pdffonts your_pdf_file
and post the output.
If not, send me a sample PDF.
Maybe I can give you some hints where to get the fonts and how to make
Ghostscript find them.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 16

06-07-2011 09:31 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> > Scott Hallenbeck wrote:
> > >> >
> > >> > >> Scott Hallenbeck wrote:
> > >> > >>
> > >> > >> >> Scott Hallenbeck wrote:
> > >> > >> >>
> > >> > >> >> > I am tasked with the getting these SLP450 label printers
> > >> > >> >> > working with CUPS
> > >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> > >> > >> >> > phasing out, and
> > >> > >> >> > they both print to the label printers without any issues. It
> > >> > >> >> > hasn't always been this way, and there was a large amount of
> > >> > >> >> > time spent by another technician, who is no longer here,
> > >> > >> >> > getting it to work, but unfortunately was never documented.
> > >> > >> >> >
> > >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> > >> > >> >> > the printer specific ppd's are also the same, as well as the
> > >> > >> >> > configurations in these printer specific ppd's.
> > >> > >> >> >
> > >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> > >> >> > through all 3 server, originating from the same place and
> > >> > >> >> > printing the same thing.
> > >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> > >> >> > complete..."
> > >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> > >> > >> >> > newest being different.
> > >> > >> >> >
> > >> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > and server 3, the newest running v 1.3.7:
> > >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > This stood out to me as being an obvious deviation. The first
> > >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> > >> > >> >> > through an empty label.
> > >> > >> >> >
> > >> > >> >> > I have attempted to change *LandscapeOrientation in the
> > >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> > >> > >> >> > hopes this would help, but seemed to make no difference.
> > >> > >> >> >
> > >> > >> >> > I even attempted to command line print with options
> > >> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> > >> >> > to see if this would fix the issue, and still blanks.
> > >> > >> >> >
> > >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> > >> > >> >> > perfect little test page on the label.
> > >> > >> >> >
> > >> > >> >> > The labels being sent are in PDF format, and I know the test
> > >> > >> >> > page is in a plain text format, so this leads me to believe
> > >> > >> >> > there is some sort of filtering missing or something, but I am
> > >> > >> >> > really at a loss where to go from here.
> > >> > >> >> >
> > >> > >> >> > Anyone have any suggestions?
> > >> > >> >> >
> > >> > >> >> > Thanks!
> > >> > >> >> > Scott
> > >> > >> >>
> > >> > >> >> Please tell how your label printer has been configured with CUPS,
> > >> > >> >> and, for a test print, set the log level to debug, do a test
> > >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> > >> > >> >> the error_log file that contains the messages related to the test
> > >> > >> >> job.
> > >> > >> >>
> > >> > >> >> Helge
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> > >> > Unfortunately I was not the one who set this up to start with. I
> > >> > >> > was told that the drivers (which you linked to in your second
> > >> > >> > post) were downloaded
> > >> > >> > and freshly compiled on the the new cups server. I do see a
> > >> > >> > directory in root home where the file has been extracted and
> > >> > >> > appears to have been compiled.
> > >> > >> >
> > >> > >> > Right now I do not have a record of a cups test page print from
> > >> > >> > the to the printer, but I did make files from test page prints
> > >> > >> > from our application server that is sending the label both on the
> > >> > >> > old (working) server and the new server. Both servers were set to
> > >> > >> > debug2 level before capturing them. Old Server that works :
> > >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> > >> >
> > >> > >> > Once one of the developers gets here and sets up the QA machine I
> > >> > >> > have been testing with, I can print a cups test print and capture
> > >> > >> > that as well, if you would still like to see that.
> > >> > >> >
> > >> > >> > Thank you for any assistance in this matter.
> > >> > >> > Scott
> > >> > >>
> > >> > >> In your second log file I found some strange messages:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [271 136]... which seems to be correct, but some messages later:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> > >> > >> correct page size and reverted to the default letter page size.
> > >> > >>
> > >> > >> To further trace it down I'd need the repsective PPDs from both
> > >> > >> machines.
> > >> > >>
> > >> > >> Helge
> > >> > >>
> > >> > >
> > >> > > Placed the PPD from the server printing blank labels here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >> > >
> > >> > > and the one that does work from the older server here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >> > >
> > >> > > Let me know if you have any issues getting to them.
> > >> > > Scott
> > >> >
> > >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> > >> > based
> > >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> > >> > configuration file named xpdfrc (don't know in what directory it should
> > >> > lie, it depends on the buidling options, but probably in /etc or
> > >> > /etc/cups). That file should contain the directive
> > >> > psPaperSize match
> > >> > (the default is letter). This directive forces the generated PostScript
> > >> > to retain the page size defined by the (first page) of the PDF file.
> > >> >
> > >> > If that won't work, you could try one of the following options:
> > >> > (1) replace the pdftops filter by the alternate pdftops filter as
> > >> > described on the links at www.cups.org
> > >> > (2) replace the pstoraster filter by the gstoraster filter as described
> > >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> > >> > file accordingly).
> > >> >
> > >> > Helge
> > >> >
> > >>
> > > Thank you for this response.
> > > I could not locate xpdfrc or anything related to that. However I do no
> > > believe xpdf is even installed, and most likely because X is not installed
> > > on the server either.
> > > I wasn't sure what the alternate pdftops filter was that you were
> > > referring to, as all I could find was a wrapper script. Is that what you
> > > meant?
> > >
> > > I DID replace the pstoraster filter, as I found that and I could easily
> > > follow the instructions. This seems to have corrected the issues with the
> > > SLP450 Label printers. I am hoping it has no negative effect on the other
> > > printers we are using, but so far, I do not see it being used a lot.
> > >
> > > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > > job queue, and cups displays "Ghostscript exited with value 1" for the
> > > printer after each label prints... Any suggestions here? ___>
> > >
> > > Can you send me a link to the "alternate pdftops filter as described on
> > > the links at www.cups.org" please? I am curious if that would resolve and
> > > issue I am having with p3005 printers.
> > >
> > > Thanks again for your help!
> > >
> > > Scott
> >
> > Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> > I'll dig into it.
> >
> > Helge
> >
>
> Emailed you from my gmail account, please feel free to reply there.
> Thanks.
> Scott
Ok, turning off the error reporting in the script worked fine. Only issue I have now is that the fonts are not correct, and need to be fixed.
Tried and tried to get the 'xpdfrc' file fix that you recommended to work, but it seems no matter where I put it, it has no effect. I put it in /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL documentation which is apparently incorrect anyway) and it has no effect.
I looked at the alternate pdftops script you directed me to, but was unsure just what to do with the file, and since it's a live production server I am not into experimenting to figure it out. And since it seems, from what I can tell, it would be a global wide change, I wasn't sure what other implications it might have.
I feel I am close as the labels do print, but the fonts are not correct, so if I can figure that part out, I will have it.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
[...]
>
> Ok, turning off the error reporting in the script worked fine. Only issue
> I have now is that the fonts are not correct, and need to be fixed.
>
> Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> but it seems no matter where I put it, it has no effect. I put it in
> /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> documentation which is apparently incorrect anyway) and it has no effect.
>
> I looked at the alternate pdftops script you directed me to, but was
> unsure just what to do with the file, and since it's a live production
> server I am not into experimenting to figure it out. And since it seems,
> from what I can tell, it would be a global wide change, I wasn't sure what
> other implications it might have.
>
> I feel I am close as the labels do print, but the fonts are not correct,
> so if I can figure that part out, I will have it.
>
> Scott
As for the fonts, there is nearly nothing what can be done but installing
all the needed fonts, as obviously the needed fonts are not embedded
in the PDFs you print.
See if you have a utility named pdffonts; if yes, run
pdffonts your_pdf_file
and post the output.
If not, send me a sample PDF.
Maybe I can give you some hints where to get the fonts and how to make
Ghostscript find them.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> [...]
> >
> > Ok, turning off the error reporting in the script worked fine. Only issue
> > I have now is that the fonts are not correct, and need to be fixed.
> >
> > Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> > but it seems no matter where I put it, it has no effect. I put it in
> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> > documentation which is apparently incorrect anyway) and it has no effect.
> >
> > I looked at the alternate pdftops script you directed me to, but was
> > unsure just what to do with the file, and since it's a live production
> > server I am not into experimenting to figure it out. And since it seems,
> > from what I can tell, it would be a global wide change, I wasn't sure what
> > other implications it might have.
> >
> > I feel I am close as the labels do print, but the fonts are not correct,
> > so if I can figure that part out, I will have it.
> >
> > Scott
>
> As for the fonts, there is nearly nothing what can be done but installing
> all the needed fonts, as obviously the needed fonts are not embedded
> in the PDFs you print.
>
> See if you have a utility named pdffonts; if yes, run
> pdffonts your_pdf_file
> and post the output.
> If not, send me a sample PDF.
> Maybe I can give you some hints where to get the fonts and how to make
> Ghostscript find them.
>
> Helge
>
>
[root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
TimesNewRomanPSMT TrueType no no no 13 0
TimesNewRomanPS-BoldMT TrueType no no no 14 0
Times-Roman Type 1 no no no 2 0
I was researching this, and thought there was a way to get them in there, but any direction you can provide would be most appreciated!
Thanks again,
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 17

06-07-2011 10:08 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> > Scott Hallenbeck wrote:
> > >> >
> > >> > >> Scott Hallenbeck wrote:
> > >> > >>
> > >> > >> >> Scott Hallenbeck wrote:
> > >> > >> >>
> > >> > >> >> > I am tasked with the getting these SLP450 label printers
> > >> > >> >> > working with CUPS
> > >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> > >> > >> >> > phasing out, and
> > >> > >> >> > they both print to the label printers without any issues. It
> > >> > >> >> > hasn't always been this way, and there was a large amount of
> > >> > >> >> > time spent by another technician, who is no longer here,
> > >> > >> >> > getting it to work, but unfortunately was never documented.
> > >> > >> >> >
> > >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> > >> > >> >> > the printer specific ppd's are also the same, as well as the
> > >> > >> >> > configurations in these printer specific ppd's.
> > >> > >> >> >
> > >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> > >> >> > through all 3 server, originating from the same place and
> > >> > >> >> > printing the same thing.
> > >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> > >> >> > complete..."
> > >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> > >> > >> >> > newest being different.
> > >> > >> >> >
> > >> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > and server 3, the newest running v 1.3.7:
> > >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > This stood out to me as being an obvious deviation. The first
> > >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> > >> > >> >> > through an empty label.
> > >> > >> >> >
> > >> > >> >> > I have attempted to change *LandscapeOrientation in the
> > >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> > >> > >> >> > hopes this would help, but seemed to make no difference.
> > >> > >> >> >
> > >> > >> >> > I even attempted to command line print with options
> > >> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> > >> >> > to see if this would fix the issue, and still blanks.
> > >> > >> >> >
> > >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> > >> > >> >> > perfect little test page on the label.
> > >> > >> >> >
> > >> > >> >> > The labels being sent are in PDF format, and I know the test
> > >> > >> >> > page is in a plain text format, so this leads me to believe
> > >> > >> >> > there is some sort of filtering missing or something, but I am
> > >> > >> >> > really at a loss where to go from here.
> > >> > >> >> >
> > >> > >> >> > Anyone have any suggestions?
> > >> > >> >> >
> > >> > >> >> > Thanks!
> > >> > >> >> > Scott
> > >> > >> >>
> > >> > >> >> Please tell how your label printer has been configured with CUPS,
> > >> > >> >> and, for a test print, set the log level to debug, do a test
> > >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> > >> > >> >> the error_log file that contains the messages related to the test
> > >> > >> >> job.
> > >> > >> >>
> > >> > >> >> Helge
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> > >> > Unfortunately I was not the one who set this up to start with. I
> > >> > >> > was told that the drivers (which you linked to in your second
> > >> > >> > post) were downloaded
> > >> > >> > and freshly compiled on the the new cups server. I do see a
> > >> > >> > directory in root home where the file has been extracted and
> > >> > >> > appears to have been compiled.
> > >> > >> >
> > >> > >> > Right now I do not have a record of a cups test page print from
> > >> > >> > the to the printer, but I did make files from test page prints
> > >> > >> > from our application server that is sending the label both on the
> > >> > >> > old (working) server and the new server. Both servers were set to
> > >> > >> > debug2 level before capturing them. Old Server that works :
> > >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> > >> >
> > >> > >> > Once one of the developers gets here and sets up the QA machine I
> > >> > >> > have been testing with, I can print a cups test print and capture
> > >> > >> > that as well, if you would still like to see that.
> > >> > >> >
> > >> > >> > Thank you for any assistance in this matter.
> > >> > >> > Scott
> > >> > >>
> > >> > >> In your second log file I found some strange messages:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [271 136]... which seems to be correct, but some messages later:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> > >> > >> correct page size and reverted to the default letter page size.
> > >> > >>
> > >> > >> To further trace it down I'd need the repsective PPDs from both
> > >> > >> machines.
> > >> > >>
> > >> > >> Helge
> > >> > >>
> > >> > >
> > >> > > Placed the PPD from the server printing blank labels here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >> > >
> > >> > > and the one that does work from the older server here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >> > >
> > >> > > Let me know if you have any issues getting to them.
> > >> > > Scott
> > >> >
> > >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> > >> > based
> > >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> > >> > configuration file named xpdfrc (don't know in what directory it should
> > >> > lie, it depends on the buidling options, but probably in /etc or
> > >> > /etc/cups). That file should contain the directive
> > >> > psPaperSize match
> > >> > (the default is letter). This directive forces the generated PostScript
> > >> > to retain the page size defined by the (first page) of the PDF file.
> > >> >
> > >> > If that won't work, you could try one of the following options:
> > >> > (1) replace the pdftops filter by the alternate pdftops filter as
> > >> > described on the links at www.cups.org
> > >> > (2) replace the pstoraster filter by the gstoraster filter as described
> > >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> > >> > file accordingly).
> > >> >
> > >> > Helge
> > >> >
> > >>
> > > Thank you for this response.
> > > I could not locate xpdfrc or anything related to that. However I do no
> > > believe xpdf is even installed, and most likely because X is not installed
> > > on the server either.
> > > I wasn't sure what the alternate pdftops filter was that you were
> > > referring to, as all I could find was a wrapper script. Is that what you
> > > meant?
> > >
> > > I DID replace the pstoraster filter, as I found that and I could easily
> > > follow the instructions. This seems to have corrected the issues with the
> > > SLP450 Label printers. I am hoping it has no negative effect on the other
> > > printers we are using, but so far, I do not see it being used a lot.
> > >
> > > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > > job queue, and cups displays "Ghostscript exited with value 1" for the
> > > printer after each label prints... Any suggestions here? ___>
> > >
> > > Can you send me a link to the "alternate pdftops filter as described on
> > > the links at www.cups.org" please? I am curious if that would resolve and
> > > issue I am having with p3005 printers.
> > >
> > > Thanks again for your help!
> > >
> > > Scott
> >
> > Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> > I'll dig into it.
> >
> > Helge
> >
>
> Emailed you from my gmail account, please feel free to reply there.
> Thanks.
> Scott
Ok, turning off the error reporting in the script worked fine. Only issue I have now is that the fonts are not correct, and need to be fixed.
Tried and tried to get the 'xpdfrc' file fix that you recommended to work, but it seems no matter where I put it, it has no effect. I put it in /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL documentation which is apparently incorrect anyway) and it has no effect.
I looked at the alternate pdftops script you directed me to, but was unsure just what to do with the file, and since it's a live production server I am not into experimenting to figure it out. And since it seems, from what I can tell, it would be a global wide change, I wasn't sure what other implications it might have.
I feel I am close as the labels do print, but the fonts are not correct, so if I can figure that part out, I will have it.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
[...]
>
> Ok, turning off the error reporting in the script worked fine. Only issue
> I have now is that the fonts are not correct, and need to be fixed.
>
> Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> but it seems no matter where I put it, it has no effect. I put it in
> /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> documentation which is apparently incorrect anyway) and it has no effect.
>
> I looked at the alternate pdftops script you directed me to, but was
> unsure just what to do with the file, and since it's a live production
> server I am not into experimenting to figure it out. And since it seems,
> from what I can tell, it would be a global wide change, I wasn't sure what
> other implications it might have.
>
> I feel I am close as the labels do print, but the fonts are not correct,
> so if I can figure that part out, I will have it.
>
> Scott
As for the fonts, there is nearly nothing what can be done but installing
all the needed fonts, as obviously the needed fonts are not embedded
in the PDFs you print.
See if you have a utility named pdffonts; if yes, run
pdffonts your_pdf_file
and post the output.
If not, send me a sample PDF.
Maybe I can give you some hints where to get the fonts and how to make
Ghostscript find them.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> [...]
> >
> > Ok, turning off the error reporting in the script worked fine. Only issue
> > I have now is that the fonts are not correct, and need to be fixed.
> >
> > Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> > but it seems no matter where I put it, it has no effect. I put it in
> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> > documentation which is apparently incorrect anyway) and it has no effect.
> >
> > I looked at the alternate pdftops script you directed me to, but was
> > unsure just what to do with the file, and since it's a live production
> > server I am not into experimenting to figure it out. And since it seems,
> > from what I can tell, it would be a global wide change, I wasn't sure what
> > other implications it might have.
> >
> > I feel I am close as the labels do print, but the fonts are not correct,
> > so if I can figure that part out, I will have it.
> >
> > Scott
>
> As for the fonts, there is nearly nothing what can be done but installing
> all the needed fonts, as obviously the needed fonts are not embedded
> in the PDFs you print.
>
> See if you have a utility named pdffonts; if yes, run
> pdffonts your_pdf_file
> and post the output.
> If not, send me a sample PDF.
> Maybe I can give you some hints where to get the fonts and how to make
> Ghostscript find them.
>
> Helge
>
>
[root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
TimesNewRomanPSMT TrueType no no no 13 0
TimesNewRomanPS-BoldMT TrueType no no no 14 0
Times-Roman Type 1 no no no 2 0
I was researching this, and thought there was a way to get them in there, but any direction you can provide would be most appreciated!
Thanks again,
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> > Scott Hallenbeck wrote:
>> [...]
>> >
>> > Ok, turning off the error reporting in the script worked fine. Only
>> > issue I have now is that the fonts are not correct, and need to be
>> > fixed.
>> >
>> > Tried and tried to get the 'xpdfrc' file fix that you recommended to
>> > work,
>> > but it seems no matter where I put it, it has no effect. I put it in
>> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
>> > documentation which is apparently incorrect anyway) and it has no
>> > effect.
>> >
>> > I looked at the alternate pdftops script you directed me to, but was
>> > unsure just what to do with the file, and since it's a live production
>> > server I am not into experimenting to figure it out. And since it
>> > seems, from what I can tell, it would be a global wide change, I wasn't
>> > sure what other implications it might have.
>> >
>> > I feel I am close as the labels do print, but the fonts are not
>> > correct, so if I can figure that part out, I will have it.
>> >
>> > Scott
>>
>> As for the fonts, there is nearly nothing what can be done but installing
>> all the needed fonts, as obviously the needed fonts are not embedded
>> in the PDFs you print.
>>
>> See if you have a utility named pdffonts; if yes, run
>> pdffonts your_pdf_file
>> and post the output.
>> If not, send me a sample PDF.
>> Maybe I can give you some hints where to get the fonts and how to make
>> Ghostscript find them.
>>
>> Helge
>>
>>
>
> [root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
> name type emb sub uni object ID
> ------------------------------------ ------------ --- --- --- ---------
> TimesNewRomanPSMT TrueType no no no 13 0
> TimesNewRomanPS-BoldMT TrueType no no no 14 0
> Times-Roman Type 1 no no no 2 0
>
> I was researching this, and thought there was a way to get them in there,
> but any direction you can provide would be most appreciated! Thanks again,
> Scott
If you execute
gs -dNOPAUSE -sDEVICE=nullpage label-printest.pdf
Ghostscript will list what fonts it loads as substitutes for the requested fonts.
I suspect your Ghostscript will substitute NimbusRom9L-Regu and
NimbusRom9L-Medi.
But I know that TimesNewRoman is only similar to Times-Roman (which is very
similar to the said Nimbus font), but there are subtle differences with
respect to the font metrics (and outlines of severa glyphs as well).
As the fonts the names of which end on "MT" are licensed by Monotype, these
are not free.
But, as TimesNewRoman (and Arial) are common on Windows systems, I suspect
the PDFs have been generated on Windows systems. Technically, if the TrueType fonts
do not forbid embedding, you could transfer these font files from a Win box to your
Unix (Linux?) box, but legally it may be quite another thing.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
# 18

11-07-2011 03:19 PM
|
|
|
I am tasked with the getting these SLP450 label printers working with CUPS 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and they both print to the label printers without any issues. It hasn't always been this way, and there was a large amount of time spent by another technician, who is no longer here, getting it to work, but unfortunately was never documented.
The default siislp450.ppd is identical on all the servers, and the printer specific ppd's are also the same, as well as the configurations in these printer specific ppd's.
I have turned on debug2 on all the servers and ran the same job through all 3 server, originating from the same place and printing the same thing. In the logs, a few lines before I see "Printing page 1, 0% complete..." and so on, I see a similar line on all 3 servers, with the newest being different.
Server 1 - running cups 1.1.2rc1
[Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
Server 2 - running cups 1.1.2rc1
[Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0 (Negative will be 0)
and server 3, the newest running v 1.3.7:
[Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115 (Negative will be 0)
This stood out to me as being an obvious deviation. The first 2 print the label correctly, while the 3 one just pushes through an empty label.
I have attempted to change *LandscapeOrientation in the specific printer ppd file from Any to Plus90 and Minus90 in hopes this would help, but seemed to make no difference.
I even attempted to command line print with options
-o orientation-requested=3 (4,5,6)
to see if this would fix the issue, and still blanks.
When I do a 'print test page' from the cups GUI it prints a perfect little test page on the label.
The labels being sent are in PDF format, and I know the test page is in a plain text format, so this leads me to believe there is some sort of filtering missing or something, but I am really at a loss where to go from here.
Anyone have any suggestions?
Thanks!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Please tell how your label printer has been configured with CUPS, and, for a
test print, set the log level to debug, do a test print, and post (an URL
to) both the PPD used and the portion of the error_log file that contains
the messages related to the test job.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
> I am tasked with the getting these SLP450 label printers working with CUPS
> 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> they both print to the label printers without any issues. It hasn't
> always been this way, and there was a large amount of time spent by
> another technician, who is no longer here, getting it to work, but
> unfortunately was never documented.
>
> The default siislp450.ppd is identical on all the servers, and the printer
> specific ppd's are also the same, as well as the configurations in these
> printer specific ppd's.
>
> I have turned on debug2 on all the servers and ran the same job through
> all 3 server, originating from the same place and printing the same thing.
> In the logs, a few lines before I see "Printing page 1, 0% complete..."
> and so on, I see a similar line on all 3 servers, with the newest being
> different.
>
> Server 1 - running cups 1.1.2rc1
> [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> Server 2 - running cups 1.1.2rc1
> [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> [(Negative will be 0)
>
> and server 3, the newest running v 1.3.7:
> [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> [(Negative will be 0)
>
> This stood out to me as being an obvious deviation. The first 2 print the
> label correctly, while the 3 one just pushes through an empty label.
>
> I have attempted to change *LandscapeOrientation in the specific printer
> ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> seemed to make no difference.
>
> I even attempted to command line print with options
> -o orientation-requested=3 (4,5,6)
> to see if this would fix the issue, and still blanks.
>
> When I do a 'print test page' from the cups GUI it prints a perfect little
> test page on the label.
>
> The labels being sent are in PDF format, and I know the test page is in a
> plain text format, so this leads me to believe there is some sort of
> filtering missing or something, but I am really at a loss where to go from
> here.
>
> Anyone have any suggestions?
>
> Thanks!
> Scott
Additional info:
see
http://www.siibusinessproducts.com/support/slpsoft.html
for the source code of a Linux driver kit.
I just had a quick look on it and it looks promising.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> > I am tasked with the getting these SLP450 label printers working with CUPS
> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out, and
> > they both print to the label printers without any issues. It hasn't
> > always been this way, and there was a large amount of time spent by
> > another technician, who is no longer here, getting it to work, but
> > unfortunately was never documented.
> >
> > The default siislp450.ppd is identical on all the servers, and the printer
> > specific ppd's are also the same, as well as the configurations in these
> > printer specific ppd's.
> >
> > I have turned on debug2 on all the servers and ran the same job through
> > all 3 server, originating from the same place and printing the same thing.
> > In the logs, a few lines before I see "Printing page 1, 0% complete..."
> > and so on, I see a similar line on all 3 servers, with the newest being
> > different.
> >
> > Server 1 - running cups 1.1.2rc1
> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > Server 2 - running cups 1.1.2rc1
> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > [(Negative will be 0)
> >
> > and server 3, the newest running v 1.3.7:
> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM -115
> > [(Negative will be 0)
> >
> > This stood out to me as being an obvious deviation. The first 2 print the
> > label correctly, while the 3 one just pushes through an empty label.
> >
> > I have attempted to change *LandscapeOrientation in the specific printer
> > ppd file from Any to Plus90 and Minus90 in hopes this would help, but
> > seemed to make no difference.
> >
> > I even attempted to command line print with options
> > -o orientation-requested=3 (4,5,6)
> > to see if this would fix the issue, and still blanks.
> >
> > When I do a 'print test page' from the cups GUI it prints a perfect little
> > test page on the label.
> >
> > The labels being sent are in PDF format, and I know the test page is in a
> > plain text format, so this leads me to believe there is some sort of
> > filtering missing or something, but I am really at a loss where to go from
> > here.
> >
> > Anyone have any suggestions?
> >
> > Thanks!
> > Scott
>
> Please tell how your label printer has been configured with CUPS, and, for a
> test print, set the log level to debug, do a test print, and post (an URL
> to) both the PPD used and the portion of the error_log file that contains
> the messages related to the test job.
>
> Helge
>
Unfortunately I was not the one who set this up to start with. I was told that the drivers (which you linked to in your second post) were downloaded and freshly compiled on the the new cups server. I do see a directory in root home where the file has been extracted and appears to have been compiled.
Right now I do not have a record of a cups test page print from the to the printer, but I did make files from test page prints from our application server that is sending the label both on the old (working) server and the new server.
Both servers were set to debug2 level before capturing them.
Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
New Server: http://hellandback.net/cups/devlabeltest-03.txt
Once one of the developers gets here and sets up the QA machine I have been testing with, I can print a cups test print and capture that as well, if you would still like to see that.
Thank you for any assistance in this matter.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> > I am tasked with the getting these SLP450 label printers working with
>> > CUPS
>> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
>> > and
>> > they both print to the label printers without any issues. It hasn't
>> > always been this way, and there was a large amount of time spent by
>> > another technician, who is no longer here, getting it to work, but
>> > unfortunately was never documented.
>> >
>> > The default siislp450.ppd is identical on all the servers, and the
>> > printer specific ppd's are also the same, as well as the configurations
>> > in these printer specific ppd's.
>> >
>> > I have turned on debug2 on all the servers and ran the same job through
>> > all 3 server, originating from the same place and printing the same
>> > thing.
>> > In the logs, a few lines before I see "Printing page 1, 0%
>> > complete..."
>> > and so on, I see a similar line on all 3 servers, with the newest being
>> > different.
>> >
>> > Server 1 - running cups 1.1.2rc1
>> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > Server 2 - running cups 1.1.2rc1
>> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> > [(Negative will be 0)
>> >
>> > and server 3, the newest running v 1.3.7:
>> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
>> > [-115 (Negative will be 0)
>> >
>> > This stood out to me as being an obvious deviation. The first 2 print
>> > the label correctly, while the 3 one just pushes through an empty
>> > label.
>> >
>> > I have attempted to change *LandscapeOrientation in the specific
>> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> > help, but seemed to make no difference.
>> >
>> > I even attempted to command line print with options
>> > -o orientation-requested=3 (4,5,6)
>> > to see if this would fix the issue, and still blanks.
>> >
>> > When I do a 'print test page' from the cups GUI it prints a perfect
>> > little test page on the label.
>> >
>> > The labels being sent are in PDF format, and I know the test page is in
>> > a plain text format, so this leads me to believe there is some sort of
>> > filtering missing or something, but I am really at a loss where to go
>> > from here.
>> >
>> > Anyone have any suggestions?
>> >
>> > Thanks!
>> > Scott
>>
>> Please tell how your label printer has been configured with CUPS, and,
>> for a test print, set the log level to debug, do a test print, and post
>> (an URL to) both the PPD used and the portion of the error_log file that
>> contains the messages related to the test job.
>>
>> Helge
>>
>
>
> Unfortunately I was not the one who set this up to start with. I was told
> that the drivers (which you linked to in your second post) were downloaded
> and freshly compiled on the the new cups server. I do see a directory in
> root home where the file has been extracted and appears to have been
> compiled.
>
> Right now I do not have a record of a cups test page print from the to the
> printer, but I did make files from test page prints from our application
> server that is sending the label both on the old (working) server and the
> new server. Both servers were set to debug2 level before capturing them.
> Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> New Server: http://hellandback.net/cups/devlabeltest-03.txt
>
> Once one of the developers gets here and sets up the QA machine I have
> been testing with, I can print a cups test print and capture that as well,
> if you would still like to see that.
>
> Thank you for any assistance in this matter.
> Scott
In your second log file I found some strange messages:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
which seems to be correct, but some messages later:
D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
which means Ghostsdcript's cups device forgot the correct page size and reverted
to the default letter page size.
To further trace it down I'd need the repsective PPDs from both machines.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> > I am tasked with the getting these SLP450 label printers working with
> >> > CUPS
> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing out,
> >> > and
> >> > they both print to the label printers without any issues. It hasn't
> >> > always been this way, and there was a large amount of time spent by
> >> > another technician, who is no longer here, getting it to work, but
> >> > unfortunately was never documented.
> >> >
> >> > The default siislp450.ppd is identical on all the servers, and the
> >> > printer specific ppd's are also the same, as well as the configurations
> >> > in these printer specific ppd's.
> >> >
> >> > I have turned on debug2 on all the servers and ran the same job through
> >> > all 3 server, originating from the same place and printing the same
> >> > thing.
> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > complete..."
> >> > and so on, I see a similar line on all 3 servers, with the newest being
> >> > different.
> >> >
> >> > Server 1 - running cups 1.1.2rc1
> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > Server 2 - running cups 1.1.2rc1
> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> > [(Negative will be 0)
> >> >
> >> > and server 3, the newest running v 1.3.7:
> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300, margInInMM
> >> > [-115 (Negative will be 0)
> >> >
> >> > This stood out to me as being an obvious deviation. The first 2 print
> >> > the label correctly, while the 3 one just pushes through an empty
> >> > label.
> >> >
> >> > I have attempted to change *LandscapeOrientation in the specific
> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> > help, but seemed to make no difference.
> >> >
> >> > I even attempted to command line print with options
> >> > -o orientation-requested=3 (4,5,6)
> >> > to see if this would fix the issue, and still blanks.
> >> >
> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> > little test page on the label.
> >> >
> >> > The labels being sent are in PDF format, and I know the test page is in
> >> > a plain text format, so this leads me to believe there is some sort of
> >> > filtering missing or something, but I am really at a loss where to go
> >> > from here.
> >> >
> >> > Anyone have any suggestions?
> >> >
> >> > Thanks!
> >> > Scott
> >>
> >> Please tell how your label printer has been configured with CUPS, and,
> >> for a test print, set the log level to debug, do a test print, and post
> >> (an URL to) both the PPD used and the portion of the error_log file that
> >> contains the messages related to the test job.
> >>
> >> Helge
> >>
> >
> >
> > Unfortunately I was not the one who set this up to start with. I was told
> > that the drivers (which you linked to in your second post) were downloaded
> > and freshly compiled on the the new cups server. I do see a directory in
> > root home where the file has been extracted and appears to have been
> > compiled.
> >
> > Right now I do not have a record of a cups test page print from the to the
> > printer, but I did make files from test page prints from our application
> > server that is sending the label both on the old (working) server and the
> > new server. Both servers were set to debug2 level before capturing them.
> > Old Server that works : http://hellandback.net/cups/devlabeltest-02.txt
> > New Server: http://hellandback.net/cups/devlabeltest-03.txt
> >
> > Once one of the developers gets here and sets up the QA machine I have
> > been testing with, I can print a cups test print and capture that as well,
> > if you would still like to see that.
> >
> > Thank you for any assistance in this matter.
> > Scott
>
> In your second log file I found some strange messages:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271 136]...
> which seems to be correct, but some messages later:
> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612 792]...
> which means Ghostsdcript's cups device forgot the correct page size and reverted
> to the default letter page size.
>
> To further trace it down I'd need the repsective PPDs from both machines.
>
> Helge
>
Placed the PPD from the server printing blank labels here: http://hellandback.net/cups/devlabelprinter.ppd
and the one that does work from the older server here:
http://hellandback.net/cups/devlabelprinter.ppd-02
Let me know if you have any issues getting to them.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> > I am tasked with the getting these SLP450 label printers working
>> >> > with CUPS
>> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> > out, and
>> >> > they both print to the label printers without any issues. It hasn't
>> >> > always been this way, and there was a large amount of time spent by
>> >> > another technician, who is no longer here, getting it to work, but
>> >> > unfortunately was never documented.
>> >> >
>> >> > The default siislp450.ppd is identical on all the servers, and the
>> >> > printer specific ppd's are also the same, as well as the
>> >> > configurations in these printer specific ppd's.
>> >> >
>> >> > I have turned on debug2 on all the servers and ran the same job
>> >> > through all 3 server, originating from the same place and printing
>> >> > the same thing.
>> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> > complete..."
>> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> > being different.
>> >> >
>> >> > Server 1 - running cups 1.1.2rc1
>> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
>> >> > [(Negative will be 0)
>> >> >
>> >> > Server 2 - running cups 1.1.2rc1
>> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> > [margInInMM 0 (Negative will be 0)
>> >> >
>> >> > and server 3, the newest running v 1.3.7:
>> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> > [margInInMM -115 (Negative will be 0)
>> >> >
>> >> > This stood out to me as being an obvious deviation. The first 2
>> >> > print the label correctly, while the 3 one just pushes through an
>> >> > empty label.
>> >> >
>> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
>> >> > help, but seemed to make no difference.
>> >> >
>> >> > I even attempted to command line print with options
>> >> > -o orientation-requested=3 (4,5,6)
>> >> > to see if this would fix the issue, and still blanks.
>> >> >
>> >> > When I do a 'print test page' from the cups GUI it prints a perfect
>> >> > little test page on the label.
>> >> >
>> >> > The labels being sent are in PDF format, and I know the test page is
>> >> > in a plain text format, so this leads me to believe there is some
>> >> > sort of filtering missing or something, but I am really at a loss
>> >> > where to go from here.
>> >> >
>> >> > Anyone have any suggestions?
>> >> >
>> >> > Thanks!
>> >> > Scott
>> >>
>> >> Please tell how your label printer has been configured with CUPS, and,
>> >> for a test print, set the log level to debug, do a test print, and
>> >> post (an URL to) both the PPD used and the portion of the error_log
>> >> file that contains the messages related to the test job.
>> >>
>> >> Helge
>> >>
>> >
>> >
>> > Unfortunately I was not the one who set this up to start with. I was
>> > told that the drivers (which you linked to in your second post) were
>> > downloaded
>> > and freshly compiled on the the new cups server. I do see a directory
>> > in root home where the file has been extracted and appears to have been
>> > compiled.
>> >
>> > Right now I do not have a record of a cups test page print from the to
>> > the printer, but I did make files from test page prints from our
>> > application server that is sending the label both on the old (working)
>> > server and the new server. Both servers were set to debug2 level before
>> > capturing them. Old Server that works :
>> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > http://hellandback.net/cups/devlabeltest-03.txt
>> >
>> > Once one of the developers gets here and sets up the QA machine I have
>> > been testing with, I can print a cups test print and capture that as
>> > well, if you would still like to see that.
>> >
>> > Thank you for any assistance in this matter.
>> > Scott
>>
>> In your second log file I found some strange messages:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> 136]... which seems to be correct, but some messages later:
>> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> 792]... which means Ghostsdcript's cups device forgot the correct page
>> size and reverted to the default letter page size.
>>
>> To further trace it down I'd need the repsective PPDs from both machines.
>>
>> Helge
>>
>
> Placed the PPD from the server printing blank labels here:
> http://hellandback.net/cups/devlabelprinter.ppd
>
> and the one that does work from the older server here:
> http://hellandback.net/cups/devlabelprinter.ppd-02
>
> Let me know if you have any issues getting to them.
> Scott
I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
file named xpdfrc (don't know in what directory it should lie, it depends on
the buidling options, but probably in /etc or /etc/cups). That file should
contain the directive
psPaperSize match
(the default is letter). This directive forces the generated PostScript to
retain the page size defined by the (first page) of the PDF file.
If that won't work, you could try one of the following options:
(1) replace the pdftops filter by the alternate pdftops filter as described
on the links at www.cups.org
(2) replace the pstoraster filter by the gstoraster filter as described on
the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
accordingly).
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> Scott Hallenbeck wrote:
> >> >>
> >> >> > I am tasked with the getting these SLP450 label printers working
> >> >> > with CUPS
> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> >> >> > out, and
> >> >> > they both print to the label printers without any issues. It hasn't
> >> >> > always been this way, and there was a large amount of time spent by
> >> >> > another technician, who is no longer here, getting it to work, but
> >> >> > unfortunately was never documented.
> >> >> >
> >> >> > The default siislp450.ppd is identical on all the servers, and the
> >> >> > printer specific ppd's are also the same, as well as the
> >> >> > configurations in these printer specific ppd's.
> >> >> >
> >> >> > I have turned on debug2 on all the servers and ran the same job
> >> >> > through all 3 server, originating from the same place and printing
> >> >> > the same thing.
> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> >> > complete..."
> >> >> > and so on, I see a similar line on all 3 servers, with the newest
> >> >> > being different.
> >> >> >
> >> >> > Server 1 - running cups 1.1.2rc1
> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> >> >> > [(Negative will be 0)
> >> >> >
> >> >> > Server 2 - running cups 1.1.2rc1
> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> >> > [margInInMM 0 (Negative will be 0)
> >> >> >
> >> >> > and server 3, the newest running v 1.3.7:
> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> >> > [margInInMM -115 (Negative will be 0)
> >> >> >
> >> >> > This stood out to me as being an obvious deviation. The first 2
> >> >> > print the label correctly, while the 3 one just pushes through an
> >> >> > empty label.
> >> >> >
> >> >> > I have attempted to change *LandscapeOrientation in the specific
> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> >> >> > help, but seemed to make no difference.
> >> >> >
> >> >> > I even attempted to command line print with options
> >> >> > -o orientation-requested=3 (4,5,6)
> >> >> > to see if this would fix the issue, and still blanks.
> >> >> >
> >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> >> >> > little test page on the label.
> >> >> >
> >> >> > The labels being sent are in PDF format, and I know the test page is
> >> >> > in a plain text format, so this leads me to believe there is some
> >> >> > sort of filtering missing or something, but I am really at a loss
> >> >> > where to go from here.
> >> >> >
> >> >> > Anyone have any suggestions?
> >> >> >
> >> >> > Thanks!
> >> >> > Scott
> >> >>
> >> >> Please tell how your label printer has been configured with CUPS, and,
> >> >> for a test print, set the log level to debug, do a test print, and
> >> >> post (an URL to) both the PPD used and the portion of the error_log
> >> >> file that contains the messages related to the test job.
> >> >>
> >> >> Helge
> >> >>
> >> >
> >> >
> >> > Unfortunately I was not the one who set this up to start with. I was
> >> > told that the drivers (which you linked to in your second post) were
> >> > downloaded
> >> > and freshly compiled on the the new cups server. I do see a directory
> >> > in root home where the file has been extracted and appears to have been
> >> > compiled.
> >> >
> >> > Right now I do not have a record of a cups test page print from the to
> >> > the printer, but I did make files from test page prints from our
> >> > application server that is sending the label both on the old (working)
> >> > server and the new server. Both servers were set to debug2 level before
> >> > capturing them. Old Server that works :
> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> >
> >> > Once one of the developers gets here and sets up the QA machine I have
> >> > been testing with, I can print a cups test print and capture that as
> >> > well, if you would still like to see that.
> >> >
> >> > Thank you for any assistance in this matter.
> >> > Scott
> >>
> >> In your second log file I found some strange messages:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> >> 136]... which seems to be correct, but some messages later:
> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> >> 792]... which means Ghostsdcript's cups device forgot the correct page
> >> size and reverted to the default letter page size.
> >>
> >> To further trace it down I'd need the repsective PPDs from both machines.
> >>
> >> Helge
> >>
> >
> > Placed the PPD from the server printing blank labels here:
> > http://hellandback.net/cups/devlabelprinter.ppd
> >
> > and the one that does work from the older server here:
> > http://hellandback.net/cups/devlabelprinter.ppd-02
> >
> > Let me know if you have any issues getting to them.
> > Scott
>
> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> file named xpdfrc (don't know in what directory it should lie, it depends on
> the buidling options, but probably in /etc or /etc/cups). That file should
> contain the directive
> psPaperSize match
> (the default is letter). This directive forces the generated PostScript to
> retain the page size defined by the (first page) of the PDF file.
>
> If that won't work, you could try one of the following options:
> (1) replace the pdftops filter by the alternate pdftops filter as described
> on the links at www.cups.org
> (2) replace the pstoraster filter by the gstoraster filter as described on
> the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> accordingly).
>
> Helge
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> Scott Hallenbeck wrote:
>> >>
>> >> >> Scott Hallenbeck wrote:
>> >> >>
>> >> >> > I am tasked with the getting these SLP450 label printers working
>> >> >> > with CUPS
>> >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
>> >> >> > out, and
>> >> >> > they both print to the label printers without any issues. It
>> >> >> > hasn't always been this way, and there was a large amount of time
>> >> >> > spent by another technician, who is no longer here, getting it to
>> >> >> > work, but unfortunately was never documented.
>> >> >> >
>> >> >> > The default siislp450.ppd is identical on all the servers, and
>> >> >> > the printer specific ppd's are also the same, as well as the
>> >> >> > configurations in these printer specific ppd's.
>> >> >> >
>> >> >> > I have turned on debug2 on all the servers and ran the same job
>> >> >> > through all 3 server, originating from the same place and
>> >> >> > printing the same thing.
>> >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> >> >> > complete..."
>> >> >> > and so on, I see a similar line on all 3 servers, with the newest
>> >> >> > being different.
>> >> >> >
>> >> >> > Server 1 - running cups 1.1.2rc1
>> >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM
>> >> >> > [0 (Negative will be 0)
>> >> >> >
>> >> >> > Server 2 - running cups 1.1.2rc1
>> >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> >> >> > [margInInMM 0 (Negative will be 0)
>> >> >> >
>> >> >> > and server 3, the newest running v 1.3.7:
>> >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> >> >> > [margInInMM -115 (Negative will be 0)
>> >> >> >
>> >> >> > This stood out to me as being an obvious deviation. The first 2
>> >> >> > print the label correctly, while the 3 one just pushes through an
>> >> >> > empty label.
>> >> >> >
>> >> >> > I have attempted to change *LandscapeOrientation in the specific
>> >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this
>> >> >> > would help, but seemed to make no difference.
>> >> >> >
>> >> >> > I even attempted to command line print with options
>> >> >> > -o orientation-requested=3 (4,5,6)
>> >> >> > to see if this would fix the issue, and still blanks.
>> >> >> >
>> >> >> > When I do a 'print test page' from the cups GUI it prints a
>> >> >> > perfect little test page on the label.
>> >> >> >
>> >> >> > The labels being sent are in PDF format, and I know the test page
>> >> >> > is in a plain text format, so this leads me to believe there is
>> >> >> > some sort of filtering missing or something, but I am really at a
>> >> >> > loss where to go from here.
>> >> >> >
>> >> >> > Anyone have any suggestions?
>> >> >> >
>> >> >> > Thanks!
>> >> >> > Scott
>> >> >>
>> >> >> Please tell how your label printer has been configured with CUPS,
>> >> >> and, for a test print, set the log level to debug, do a test print,
>> >> >> and post (an URL to) both the PPD used and the portion of the
>> >> >> error_log file that contains the messages related to the test job.
>> >> >>
>> >> >> Helge
>> >> >>
>> >> >
>> >> >
>> >> > Unfortunately I was not the one who set this up to start with. I
>> >> > was told that the drivers (which you linked to in your second post)
>> >> > were downloaded
>> >> > and freshly compiled on the the new cups server. I do see a
>> >> > directory in root home where the file has been extracted and appears
>> >> > to have been compiled.
>> >> >
>> >> > Right now I do not have a record of a cups test page print from the
>> >> > to the printer, but I did make files from test page prints from our
>> >> > application server that is sending the label both on the old
>> >> > (working) server and the new server. Both servers were set to debug2
>> >> > level before capturing them. Old Server that works :
>> >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> >> > http://hellandback.net/cups/devlabeltest-03.txt
>> >> >
>> >> > Once one of the developers gets here and sets up the QA machine I
>> >> > have been testing with, I can print a cups test print and capture
>> >> > that as well, if you would still like to see that.
>> >> >
>> >> > Thank you for any assistance in this matter.
>> >> > Scott
>> >>
>> >> In your second log file I found some strange messages:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
>> >> 136]... which seems to be correct, but some messages later:
>> >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
>> >> 792]... which means Ghostsdcript's cups device forgot the correct page
>> >> size and reverted to the default letter page size.
>> >>
>> >> To further trace it down I'd need the repsective PPDs from both
>> >> machines.
>> >>
>> >> Helge
>> >>
>> >
>> > Placed the PPD from the server printing blank labels here:
>> > http://hellandback.net/cups/devlabelprinter.ppd
>> >
>> > and the one that does work from the older server here:
>> > http://hellandback.net/cups/devlabelprinter.ppd-02
>> >
>> > Let me know if you have any issues getting to them.
>> > Scott
>>
>> I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> based
>> on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> configuration file named xpdfrc (don't know in what directory it should
>> lie, it depends on the buidling options, but probably in /etc or
>> /etc/cups). That file should contain the directive
>> psPaperSize match
>> (the default is letter). This directive forces the generated PostScript
>> to retain the page size defined by the (first page) of the PDF file.
>>
>> If that won't work, you could try one of the following options:
>> (1) replace the pdftops filter by the alternate pdftops filter as
>> described on the links at www.cups.org
>> (2) replace the pstoraster filter by the gstoraster filter as described
>> on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> file accordingly).
>>
>> Helge
>>
>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Here is the link to the alternate pdftops filter:
http://www.srz.de/Members/bla/cups/filter/pdftops
The documentation I have is in German only, but if you read the comment
lines in the script you'll get to know all relevant information.
As for the pdftops filter of your cups configuration, if it is the original design and
not a substitute by your system provider, it is a slightly modified version of the
pdftops utility which is part of the xpdf suite (and runs without a running X server,
of course). As I read from the source (at svn.eaqsysw.com), it has the same
default of letter for the page size if not specified otherwise, and it looks for
a file named xpdfrc in the user's home directory (the user the filter is running as)
or /etc, in that order. So it should be sufficient to set up a file
/etc/xpdfrc with just the directive I mentioned as the only content to retain
the page size of the originating PDF. But note that this only works if the PDF
does not have pages of different sizes.
Drop me a notice if you want to get the german documentation.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> Scott Hallenbeck wrote:
> > >>
> > >> >> Scott Hallenbeck wrote:
> > >> >>
> > >> >> > I am tasked with the getting these SLP450 label printers working
> > >> >> > with CUPS
> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are phasing
> > >> >> > out, and
> > >> >> > they both print to the label printers without any issues. It hasn't
> > >> >> > always been this way, and there was a large amount of time spent by
> > >> >> > another technician, who is no longer here, getting it to work, but
> > >> >> > unfortunately was never documented.
> > >> >> >
> > >> >> > The default siislp450.ppd is identical on all the servers, and the
> > >> >> > printer specific ppd's are also the same, as well as the
> > >> >> > configurations in these printer specific ppd's.
> > >> >> >
> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> >> > through all 3 server, originating from the same place and printing
> > >> >> > the same thing.
> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> >> > complete..."
> > >> >> > and so on, I see a similar line on all 3 servers, with the newest
> > >> >> > being different.
> > >> >> >
> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568, margInInMM 0
> > >> >> > [(Negative will be 0)
> > >> >> >
> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> >> >
> > >> >> > and server 3, the newest running v 1.3.7:
> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> >> >
> > >> >> > This stood out to me as being an obvious deviation. The first 2
> > >> >> > print the label correctly, while the 3 one just pushes through an
> > >> >> > empty label.
> > >> >> >
> > >> >> > I have attempted to change *LandscapeOrientation in the specific
> > >> >> > printer ppd file from Any to Plus90 and Minus90 in hopes this would
> > >> >> > help, but seemed to make no difference.
> > >> >> >
> > >> >> > I even attempted to command line print with options
> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> >> > to see if this would fix the issue, and still blanks.
> > >> >> >
> > >> >> > When I do a 'print test page' from the cups GUI it prints a perfect
> > >> >> > little test page on the label.
> > >> >> >
> > >> >> > The labels being sent are in PDF format, and I know the test page is
> > >> >> > in a plain text format, so this leads me to believe there is some
> > >> >> > sort of filtering missing or something, but I am really at a loss
> > >> >> > where to go from here.
> > >> >> >
> > >> >> > Anyone have any suggestions?
> > >> >> >
> > >> >> > Thanks!
> > >> >> > Scott
> > >> >>
> > >> >> Please tell how your label printer has been configured with CUPS, and,
> > >> >> for a test print, set the log level to debug, do a test print, and
> > >> >> post (an URL to) both the PPD used and the portion of the error_log
> > >> >> file that contains the messages related to the test job.
> > >> >>
> > >> >> Helge
> > >> >>
> > >> >
> > >> >
> > >> > Unfortunately I was not the one who set this up to start with. I was
> > >> > told that the drivers (which you linked to in your second post) were
> > >> > downloaded
> > >> > and freshly compiled on the the new cups server. I do see a directory
> > >> > in root home where the file has been extracted and appears to have been
> > >> > compiled.
> > >> >
> > >> > Right now I do not have a record of a cups test page print from the to
> > >> > the printer, but I did make files from test page prints from our
> > >> > application server that is sending the label both on the old (working)
> > >> > server and the new server. Both servers were set to debug2 level before
> > >> > capturing them. Old Server that works :
> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> >
> > >> > Once one of the developers gets here and sets up the QA machine I have
> > >> > been testing with, I can print a cups test print and capture that as
> > >> > well, if you would still like to see that.
> > >> >
> > >> > Thank you for any assistance in this matter.
> > >> > Scott
> > >>
> > >> In your second log file I found some strange messages:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [271
> > >> 136]... which seems to be correct, but some messages later:
> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to [612
> > >> 792]... which means Ghostsdcript's cups device forgot the correct page
> > >> size and reverted to the default letter page size.
> > >>
> > >> To further trace it down I'd need the repsective PPDs from both machines.
> > >>
> > >> Helge
> > >>
> > >
> > > Placed the PPD from the server printing blank labels here:
> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >
> > > and the one that does work from the older server here:
> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >
> > > Let me know if you have any issues getting to them.
> > > Scott
> >
> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7, based
> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a configuration
> > file named xpdfrc (don't know in what directory it should lie, it depends on
> > the buidling options, but probably in /etc or /etc/cups). That file should
> > contain the directive
> > psPaperSize match
> > (the default is letter). This directive forces the generated PostScript to
> > retain the page size defined by the (first page) of the PDF file.
> >
> > If that won't work, you could try one of the following options:
> > (1) replace the pdftops filter by the alternate pdftops filter as described
> > on the links at www.cups.org
> > (2) replace the pstoraster filter by the gstoraster filter as described on
> > the links at www.cups.org (you need to adapt your /etc/cups/*.convs file
> > accordingly).
> >
> > Helge
> >
>
Thank you for this response.
I could not locate xpdfrc or anything related to that. However I do no believe xpdf is even installed, and most likely because X is not installed on the server either.
I wasn't sure what the alternate pdftops filter was that you were referring to, as all I could find was a wrapper script. Is that what you meant?
I DID replace the pstoraster filter, as I found that and I could easily follow the instructions. This seems to have corrected the issues with the SLP450 Label printers. I am hoping it has no negative effect on the other printers we are using, but so far, I do not see it being used a lot.
___< It did fix the issue, the labels print, but the jobs don't clear the job queue, and cups displays "Ghostscript exited with value 1" for the printer after each label prints... Any suggestions here?
___>
Can you send me a link to the "alternate pdftops filter as described on the links at www.cups.org" please? I am curious if that would resolve and issue I am having with p3005 printers.
Thanks again for your help!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Are you using Ghostscript 8.62 ? I encountered this issue when testing on a
SUSE 11.1 system.
As described in the documentation, simply change the line
$ignore_gserror = 0;
to
$ignore_gserror = 1;
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
>> >
>> > >> Scott Hallenbeck wrote:
>> > >>
>> > >> >> Scott Hallenbeck wrote:
>> > >> >>
>> > >> >> > I am tasked with the getting these SLP450 label printers
>> > >> >> > working with CUPS
>> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
>> > >> >> > phasing out, and
>> > >> >> > they both print to the label printers without any issues. It
>> > >> >> > hasn't always been this way, and there was a large amount of
>> > >> >> > time spent by another technician, who is no longer here,
>> > >> >> > getting it to work, but unfortunately was never documented.
>> > >> >> >
>> > >> >> > The default siislp450.ppd is identical on all the servers, and
>> > >> >> > the printer specific ppd's are also the same, as well as the
>> > >> >> > configurations in these printer specific ppd's.
>> > >> >> >
>> > >> >> > I have turned on debug2 on all the servers and ran the same job
>> > >> >> > through all 3 server, originating from the same place and
>> > >> >> > printing the same thing.
>> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
>> > >> >> > complete..."
>> > >> >> > and so on, I see a similar line on all 3 servers, with the
>> > >> >> > newest being different.
>> > >> >> >
>> > >> >> > Server 1 - running cups 1.1.2rc1
>> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > Server 2 - running cups 1.1.2rc1
>> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
>> > >> >> > [margInInMM 0 (Negative will be 0)
>> > >> >> >
>> > >> >> > and server 3, the newest running v 1.3.7:
>> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
>> > >> >> > [margInInMM -115 (Negative will be 0)
>> > >> >> >
>> > >> >> > This stood out to me as being an obvious deviation. The first
>> > >> >> > 2 print the label correctly, while the 3 one just pushes
>> > >> >> > through an empty label.
>> > >> >> >
>> > >> >> > I have attempted to change *LandscapeOrientation in the
>> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
>> > >> >> > hopes this would help, but seemed to make no difference.
>> > >> >> >
>> > >> >> > I even attempted to command line print with options
>> > >> >> > -o orientation-requested=3 (4,5,6)
>> > >> >> > to see if this would fix the issue, and still blanks.
>> > >> >> >
>> > >> >> > When I do a 'print test page' from the cups GUI it prints a
>> > >> >> > perfect little test page on the label.
>> > >> >> >
>> > >> >> > The labels being sent are in PDF format, and I know the test
>> > >> >> > page is in a plain text format, so this leads me to believe
>> > >> >> > there is some sort of filtering missing or something, but I am
>> > >> >> > really at a loss where to go from here.
>> > >> >> >
>> > >> >> > Anyone have any suggestions?
>> > >> >> >
>> > >> >> > Thanks!
>> > >> >> > Scott
>> > >> >>
>> > >> >> Please tell how your label printer has been configured with CUPS,
>> > >> >> and, for a test print, set the log level to debug, do a test
>> > >> >> print, and post (an URL to) both the PPD used and the portion of
>> > >> >> the error_log file that contains the messages related to the test
>> > >> >> job.
>> > >> >>
>> > >> >> Helge
>> > >> >>
>> > >> >
>> > >> >
>> > >> > Unfortunately I was not the one who set this up to start with. I
>> > >> > was told that the drivers (which you linked to in your second
>> > >> > post) were downloaded
>> > >> > and freshly compiled on the the new cups server. I do see a
>> > >> > directory in root home where the file has been extracted and
>> > >> > appears to have been compiled.
>> > >> >
>> > >> > Right now I do not have a record of a cups test page print from
>> > >> > the to the printer, but I did make files from test page prints
>> > >> > from our application server that is sending the label both on the
>> > >> > old (working) server and the new server. Both servers were set to
>> > >> > debug2 level before capturing them. Old Server that works :
>> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
>> > >> > http://hellandback.net/cups/devlabeltest-03.txt
>> > >> >
>> > >> > Once one of the developers gets here and sets up the QA machine I
>> > >> > have been testing with, I can print a cups test print and capture
>> > >> > that as well, if you would still like to see that.
>> > >> >
>> > >> > Thank you for any assistance in this matter.
>> > >> > Scott
>> > >>
>> > >> In your second log file I found some strange messages:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [271 136]... which seems to be correct, but some messages later:
>> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
>> > >> [612 792]... which means Ghostsdcript's cups device forgot the
>> > >> correct page size and reverted to the default letter page size.
>> > >>
>> > >> To further trace it down I'd need the repsective PPDs from both
>> > >> machines.
>> > >>
>> > >> Helge
>> > >>
>> > >
>> > > Placed the PPD from the server printing blank labels here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd
>> > >
>> > > and the one that does work from the older server here:
>> > > http://hellandback.net/cups/devlabelprinter.ppd-02
>> > >
>> > > Let me know if you have any issues getting to them.
>> > > Scott
>> >
>> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
>> > based
>> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
>> > configuration file named xpdfrc (don't know in what directory it should
>> > lie, it depends on the buidling options, but probably in /etc or
>> > /etc/cups). That file should contain the directive
>> > psPaperSize match
>> > (the default is letter). This directive forces the generated PostScript
>> > to retain the page size defined by the (first page) of the PDF file.
>> >
>> > If that won't work, you could try one of the following options:
>> > (1) replace the pdftops filter by the alternate pdftops filter as
>> > described on the links at www.cups.org
>> > (2) replace the pstoraster filter by the gstoraster filter as described
>> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
>> > file accordingly).
>> >
>> > Helge
>> >
>>
> Thank you for this response.
> I could not locate xpdfrc or anything related to that. However I do no
> believe xpdf is even installed, and most likely because X is not installed
> on the server either.
> I wasn't sure what the alternate pdftops filter was that you were
> referring to, as all I could find was a wrapper script. Is that what you
> meant?
>
> I DID replace the pstoraster filter, as I found that and I could easily
> follow the instructions. This seems to have corrected the issues with the
> SLP450 Label printers. I am hoping it has no negative effect on the other
> printers we are using, but so far, I do not see it being used a lot.
>
> ___< It did fix the issue, the labels print, but the jobs don't clear the
> job queue, and cups displays "Ghostscript exited with value 1" for the
> printer after each label prints... Any suggestions here? ___>
>
> Can you send me a link to the "alternate pdftops filter as described on
> the links at www.cups.org" please? I am curious if that would resolve and
> issue I am having with p3005 printers.
>
> Thanks again for your help!
>
> Scott
Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
I'll dig into it.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> >> >
> >> > >> Scott Hallenbeck wrote:
> >> > >>
> >> > >> >> Scott Hallenbeck wrote:
> >> > >> >>
> >> > >> >> > I am tasked with the getting these SLP450 label printers
> >> > >> >> > working with CUPS
> >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> >> > >> >> > phasing out, and
> >> > >> >> > they both print to the label printers without any issues. It
> >> > >> >> > hasn't always been this way, and there was a large amount of
> >> > >> >> > time spent by another technician, who is no longer here,
> >> > >> >> > getting it to work, but unfortunately was never documented.
> >> > >> >> >
> >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> >> > >> >> > the printer specific ppd's are also the same, as well as the
> >> > >> >> > configurations in these printer specific ppd's.
> >> > >> >> >
> >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> >> > >> >> > through all 3 server, originating from the same place and
> >> > >> >> > printing the same thing.
> >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> >> > >> >> > complete..."
> >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> >> > >> >> > newest being different.
> >> > >> >> >
> >> > >> >> > Server 1 - running cups 1.1.2rc1
> >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > Server 2 - running cups 1.1.2rc1
> >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> >> > >> >> > [margInInMM 0 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > and server 3, the newest running v 1.3.7:
> >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> >> > >> >> > [margInInMM -115 (Negative will be 0)
> >> > >> >> >
> >> > >> >> > This stood out to me as being an obvious deviation. The first
> >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> >> > >> >> > through an empty label.
> >> > >> >> >
> >> > >> >> > I have attempted to change *LandscapeOrientation in the
> >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> >> > >> >> > hopes this would help, but seemed to make no difference.
> >> > >> >> >
> >> > >> >> > I even attempted to command line print with options
> >> > >> >> > -o orientation-requested=3 (4,5,6)
> >> > >> >> > to see if this would fix the issue, and still blanks.
> >> > >> >> >
> >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> >> > >> >> > perfect little test page on the label.
> >> > >> >> >
> >> > >> >> > The labels being sent are in PDF format, and I know the test
> >> > >> >> > page is in a plain text format, so this leads me to believe
> >> > >> >> > there is some sort of filtering missing or something, but I am
> >> > >> >> > really at a loss where to go from here.
> >> > >> >> >
> >> > >> >> > Anyone have any suggestions?
> >> > >> >> >
> >> > >> >> > Thanks!
> >> > >> >> > Scott
> >> > >> >>
> >> > >> >> Please tell how your label printer has been configured with CUPS,
> >> > >> >> and, for a test print, set the log level to debug, do a test
> >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> >> > >> >> the error_log file that contains the messages related to the test
> >> > >> >> job.
> >> > >> >>
> >> > >> >> Helge
> >> > >> >>
> >> > >> >
> >> > >> >
> >> > >> > Unfortunately I was not the one who set this up to start with. I
> >> > >> > was told that the drivers (which you linked to in your second
> >> > >> > post) were downloaded
> >> > >> > and freshly compiled on the the new cups server. I do see a
> >> > >> > directory in root home where the file has been extracted and
> >> > >> > appears to have been compiled.
> >> > >> >
> >> > >> > Right now I do not have a record of a cups test page print from
> >> > >> > the to the printer, but I did make files from test page prints
> >> > >> > from our application server that is sending the label both on the
> >> > >> > old (working) server and the new server. Both servers were set to
> >> > >> > debug2 level before capturing them. Old Server that works :
> >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> >> > >> >
> >> > >> > Once one of the developers gets here and sets up the QA machine I
> >> > >> > have been testing with, I can print a cups test print and capture
> >> > >> > that as well, if you would still like to see that.
> >> > >> >
> >> > >> > Thank you for any assistance in this matter.
> >> > >> > Scott
> >> > >>
> >> > >> In your second log file I found some strange messages:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [271 136]... which seems to be correct, but some messages later:
> >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> >> > >> correct page size and reverted to the default letter page size.
> >> > >>
> >> > >> To further trace it down I'd need the repsective PPDs from both
> >> > >> machines.
> >> > >>
> >> > >> Helge
> >> > >>
> >> > >
> >> > > Placed the PPD from the server printing blank labels here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd
> >> > >
> >> > > and the one that does work from the older server here:
> >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> >> > >
> >> > > Let me know if you have any issues getting to them.
> >> > > Scott
> >> >
> >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> >> > based
> >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> >> > configuration file named xpdfrc (don't know in what directory it should
> >> > lie, it depends on the buidling options, but probably in /etc or
> >> > /etc/cups). That file should contain the directive
> >> > psPaperSize match
> >> > (the default is letter). This directive forces the generated PostScript
> >> > to retain the page size defined by the (first page) of the PDF file.
> >> >
> >> > If that won't work, you could try one of the following options:
> >> > (1) replace the pdftops filter by the alternate pdftops filter as
> >> > described on the links at www.cups.org
> >> > (2) replace the pstoraster filter by the gstoraster filter as described
> >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> >> > file accordingly).
> >> >
> >> > Helge
> >> >
> >>
> > Thank you for this response.
> > I could not locate xpdfrc or anything related to that. However I do no
> > believe xpdf is even installed, and most likely because X is not installed
> > on the server either.
> > I wasn't sure what the alternate pdftops filter was that you were
> > referring to, as all I could find was a wrapper script. Is that what you
> > meant?
> >
> > I DID replace the pstoraster filter, as I found that and I could easily
> > follow the instructions. This seems to have corrected the issues with the
> > SLP450 Label printers. I am hoping it has no negative effect on the other
> > printers we are using, but so far, I do not see it being used a lot.
> >
> > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > job queue, and cups displays "Ghostscript exited with value 1" for the
> > printer after each label prints... Any suggestions here? ___>
> >
> > Can you send me a link to the "alternate pdftops filter as described on
> > the links at www.cups.org" please? I am curious if that would resolve and
> > issue I am having with p3005 printers.
> >
> > Thanks again for your help!
> >
> > Scott
>
> Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> I'll dig into it.
>
> Helge
>
Emailed you from my gmail account, please feel free to reply there.
Thanks.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> > Scott Hallenbeck wrote:
> >
> > >> > Scott Hallenbeck wrote:
> > >> >
> > >> > >> Scott Hallenbeck wrote:
> > >> > >>
> > >> > >> >> Scott Hallenbeck wrote:
> > >> > >> >>
> > >> > >> >> > I am tasked with the getting these SLP450 label printers
> > >> > >> >> > working with CUPS
> > >> > >> >> > 1.3.7. We have 2 other cups servers (v 1.1.22rc1) we are
> > >> > >> >> > phasing out, and
> > >> > >> >> > they both print to the label printers without any issues. It
> > >> > >> >> > hasn't always been this way, and there was a large amount of
> > >> > >> >> > time spent by another technician, who is no longer here,
> > >> > >> >> > getting it to work, but unfortunately was never documented.
> > >> > >> >> >
> > >> > >> >> > The default siislp450.ppd is identical on all the servers, and
> > >> > >> >> > the printer specific ppd's are also the same, as well as the
> > >> > >> >> > configurations in these printer specific ppd's.
> > >> > >> >> >
> > >> > >> >> > I have turned on debug2 on all the servers and ran the same job
> > >> > >> >> > through all 3 server, originating from the same place and
> > >> > >> >> > printing the same thing.
> > >> > >> >> > In the logs, a few lines before I see "Printing page 1, 0%
> > >> > >> >> > complete..."
> > >> > >> >> > and so on, I see a similar line on all 3 servers, with the
> > >> > >> >> > newest being different.
> > >> > >> >> >
> > >> > >> >> > Server 1 - running cups 1.1.2rc1
> > >> > >> >> > [Job 15] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > Server 2 - running cups 1.1.2rc1
> > >> > >> >> > [Job 7273716] S3: gDotsPerLine 576.000000, cupsHeight 568,
> > >> > >> >> > [margInInMM 0 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > and server 3, the newest running v 1.3.7:
> > >> > >> >> > [Job 520042] S3: gDotsPerLine 576.000000, cupsHeight 3300,
> > >> > >> >> > [margInInMM -115 (Negative will be 0)
> > >> > >> >> >
> > >> > >> >> > This stood out to me as being an obvious deviation. The first
> > >> > >> >> > 2 print the label correctly, while the 3 one just pushes
> > >> > >> >> > through an empty label.
> > >> > >> >> >
> > >> > >> >> > I have attempted to change *LandscapeOrientation in the
> > >> > >> >> > specific printer ppd file from Any to Plus90 and Minus90 in
> > >> > >> >> > hopes this would help, but seemed to make no difference.
> > >> > >> >> >
> > >> > >> >> > I even attempted to command line print with options
> > >> > >> >> > -o orientation-requested=3 (4,5,6)
> > >> > >> >> > to see if this would fix the issue, and still blanks.
> > >> > >> >> >
> > >> > >> >> > When I do a 'print test page' from the cups GUI it prints a
> > >> > >> >> > perfect little test page on the label.
> > >> > >> >> >
> > >> > >> >> > The labels being sent are in PDF format, and I know the test
> > >> > >> >> > page is in a plain text format, so this leads me to believe
> > >> > >> >> > there is some sort of filtering missing or something, but I am
> > >> > >> >> > really at a loss where to go from here.
> > >> > >> >> >
> > >> > >> >> > Anyone have any suggestions?
> > >> > >> >> >
> > >> > >> >> > Thanks!
> > >> > >> >> > Scott
> > >> > >> >>
> > >> > >> >> Please tell how your label printer has been configured with CUPS,
> > >> > >> >> and, for a test print, set the log level to debug, do a test
> > >> > >> >> print, and post (an URL to) both the PPD used and the portion of
> > >> > >> >> the error_log file that contains the messages related to the test
> > >> > >> >> job.
> > >> > >> >>
> > >> > >> >> Helge
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> > >> > Unfortunately I was not the one who set this up to start with. I
> > >> > >> > was told that the drivers (which you linked to in your second
> > >> > >> > post) were downloaded
> > >> > >> > and freshly compiled on the the new cups server. I do see a
> > >> > >> > directory in root home where the file has been extracted and
> > >> > >> > appears to have been compiled.
> > >> > >> >
> > >> > >> > Right now I do not have a record of a cups test page print from
> > >> > >> > the to the printer, but I did make files from test page prints
> > >> > >> > from our application server that is sending the label both on the
> > >> > >> > old (working) server and the new server. Both servers were set to
> > >> > >> > debug2 level before capturing them. Old Server that works :
> > >> > >> > http://hellandback.net/cups/devlabeltest-02.txt New Server:
> > >> > >> > http://hellandback.net/cups/devlabeltest-03.txt
> > >> > >> >
> > >> > >> > Once one of the developers gets here and sets up the QA machine I
> > >> > >> > have been testing with, I can print a cups test print and capture
> > >> > >> > that as well, if you would still like to see that.
> > >> > >> >
> > >> > >> > Thank you for any assistance in this matter.
> > >> > >> > Scott
> > >> > >>
> > >> > >> In your second log file I found some strange messages:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [271 136]... which seems to be correct, but some messages later:
> > >> > >> D [27/Jun/2011:14:02:57 -0400] [Job 520042] Updating PageSize to
> > >> > >> [612 792]... which means Ghostsdcript's cups device forgot the
> > >> > >> correct page size and reverted to the default letter page size.
> > >> > >>
> > >> > >> To further trace it down I'd need the repsective PPDs from both
> > >> > >> machines.
> > >> > >>
> > >> > >> Helge
> > >> > >>
> > >> > >
> > >> > > Placed the PPD from the server printing blank labels here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd
> > >> > >
> > >> > > and the one that does work from the older server here:
> > >> > > http://hellandback.net/cups/devlabelprinter.ppd-02
> > >> > >
> > >> > > Let me know if you have any issues getting to them.
> > >> > > Scott
> > >> >
> > >> > I suspect the culprit is your pdftops filter, which is, in cups 1.3.7,
> > >> > based
> > >> > on xpdf/pdftops 3.00 . That filter tries, on start, to read a
> > >> > configuration file named xpdfrc (don't know in what directory it should
> > >> > lie, it depends on the buidling options, but probably in /etc or
> > >> > /etc/cups). That file should contain the directive
> > >> > psPaperSize match
> > >> > (the default is letter). This directive forces the generated PostScript
> > >> > to retain the page size defined by the (first page) of the PDF file.
> > >> >
> > >> > If that won't work, you could try one of the following options:
> > >> > (1) replace the pdftops filter by the alternate pdftops filter as
> > >> > described on the links at www.cups.org
> > >> > (2) replace the pstoraster filter by the gstoraster filter as described
> > >> > on the links at www.cups.org (you need to adapt your /etc/cups/*.convs
> > >> > file accordingly).
> > >> >
> > >> > Helge
> > >> >
> > >>
> > > Thank you for this response.
> > > I could not locate xpdfrc or anything related to that. However I do no
> > > believe xpdf is even installed, and most likely because X is not installed
> > > on the server either.
> > > I wasn't sure what the alternate pdftops filter was that you were
> > > referring to, as all I could find was a wrapper script. Is that what you
> > > meant?
> > >
> > > I DID replace the pstoraster filter, as I found that and I could easily
> > > follow the instructions. This seems to have corrected the issues with the
> > > SLP450 Label printers. I am hoping it has no negative effect on the other
> > > printers we are using, but so far, I do not see it being used a lot.
> > >
> > > ___< It did fix the issue, the labels print, but the jobs don't clear the
> > > job queue, and cups displays "Ghostscript exited with value 1" for the
> > > printer after each label prints... Any suggestions here? ___>
> > >
> > > Can you send me a link to the "alternate pdftops filter as described on
> > > the links at www.cups.org" please? I am curious if that would resolve and
> > > issue I am having with p3005 printers.
> > >
> > > Thanks again for your help!
> > >
> > > Scott
> >
> > Thanks for the log and the PS file. My e-mail reply has been blocked (why?).
> > I'll dig into it.
> >
> > Helge
> >
>
> Emailed you from my gmail account, please feel free to reply there.
> Thanks.
> Scott
Ok, turning off the error reporting in the script worked fine. Only issue I have now is that the fonts are not correct, and need to be fixed.
Tried and tried to get the 'xpdfrc' file fix that you recommended to work, but it seems no matter where I put it, it has no effect. I put it in /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL documentation which is apparently incorrect anyway) and it has no effect.
I looked at the alternate pdftops script you directed me to, but was unsure just what to do with the file, and since it's a live production server I am not into experimenting to figure it out. And since it seems, from what I can tell, it would be a global wide change, I wasn't sure what other implications it might have.
I feel I am close as the labels do print, but the fonts are not correct, so if I can figure that part out, I will have it.
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> > Scott Hallenbeck wrote:
[...]
>
> Ok, turning off the error reporting in the script worked fine. Only issue
> I have now is that the fonts are not correct, and need to be fixed.
>
> Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> but it seems no matter where I put it, it has no effect. I put it in
> /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> documentation which is apparently incorrect anyway) and it has no effect.
>
> I looked at the alternate pdftops script you directed me to, but was
> unsure just what to do with the file, and since it's a live production
> server I am not into experimenting to figure it out. And since it seems,
> from what I can tell, it would be a global wide change, I wasn't sure what
> other implications it might have.
>
> I feel I am close as the labels do print, but the fonts are not correct,
> so if I can figure that part out, I will have it.
>
> Scott
As for the fonts, there is nearly nothing what can be done but installing
all the needed fonts, as obviously the needed fonts are not embedded
in the PDFs you print.
See if you have a utility named pdffonts; if yes, run
pdffonts your_pdf_file
and post the output.
If not, send me a sample PDF.
Maybe I can give you some hints where to get the fonts and how to make
Ghostscript find them.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> > Scott Hallenbeck wrote:
> [...]
> >
> > Ok, turning off the error reporting in the script worked fine. Only issue
> > I have now is that the fonts are not correct, and need to be fixed.
> >
> > Tried and tried to get the 'xpdfrc' file fix that you recommended to work,
> > but it seems no matter where I put it, it has no effect. I put it in
> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> > documentation which is apparently incorrect anyway) and it has no effect.
> >
> > I looked at the alternate pdftops script you directed me to, but was
> > unsure just what to do with the file, and since it's a live production
> > server I am not into experimenting to figure it out. And since it seems,
> > from what I can tell, it would be a global wide change, I wasn't sure what
> > other implications it might have.
> >
> > I feel I am close as the labels do print, but the fonts are not correct,
> > so if I can figure that part out, I will have it.
> >
> > Scott
>
> As for the fonts, there is nearly nothing what can be done but installing
> all the needed fonts, as obviously the needed fonts are not embedded
> in the PDFs you print.
>
> See if you have a utility named pdffonts; if yes, run
> pdffonts your_pdf_file
> and post the output.
> If not, send me a sample PDF.
> Maybe I can give you some hints where to get the fonts and how to make
> Ghostscript find them.
>
> Helge
>
>
[root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
TimesNewRomanPSMT TrueType no no no 13 0
TimesNewRomanPS-BoldMT TrueType no no no 14 0
Times-Roman Type 1 no no no 2 0
I was researching this, and thought there was a way to get them in there, but any direction you can provide would be most appreciated!
Thanks again,
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
Scott Hallenbeck wrote:
>> Scott Hallenbeck wrote:
>>
>> >> > Scott Hallenbeck wrote:
>> [...]
>> >
>> > Ok, turning off the error reporting in the script worked fine. Only
>> > issue I have now is that the fonts are not correct, and need to be
>> > fixed.
>> >
>> > Tried and tried to get the 'xpdfrc' file fix that you recommended to
>> > work,
>> > but it seems no matter where I put it, it has no effect. I put it in
>> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
>> > documentation which is apparently incorrect anyway) and it has no
>> > effect.
>> >
>> > I looked at the alternate pdftops script you directed me to, but was
>> > unsure just what to do with the file, and since it's a live production
>> > server I am not into experimenting to figure it out. And since it
>> > seems, from what I can tell, it would be a global wide change, I wasn't
>> > sure what other implications it might have.
>> >
>> > I feel I am close as the labels do print, but the fonts are not
>> > correct, so if I can figure that part out, I will have it.
>> >
>> > Scott
>>
>> As for the fonts, there is nearly nothing what can be done but installing
>> all the needed fonts, as obviously the needed fonts are not embedded
>> in the PDFs you print.
>>
>> See if you have a utility named pdffonts; if yes, run
>> pdffonts your_pdf_file
>> and post the output.
>> If not, send me a sample PDF.
>> Maybe I can give you some hints where to get the fonts and how to make
>> Ghostscript find them.
>>
>> Helge
>>
>>
>
> [root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
> name type emb sub uni object ID
> ------------------------------------ ------------ --- --- --- ---------
> TimesNewRomanPSMT TrueType no no no 13 0
> TimesNewRomanPS-BoldMT TrueType no no no 14 0
> Times-Roman Type 1 no no no 2 0
>
> I was researching this, and thought there was a way to get them in there,
> but any direction you can provide would be most appreciated! Thanks again,
> Scott
If you execute
gs -dNOPAUSE -sDEVICE=nullpage label-printest.pdf
Ghostscript will list what fonts it loads as substitutes for the requested fonts.
I suspect your Ghostscript will substitute NimbusRom9L-Regu and
NimbusRom9L-Medi.
But I know that TimesNewRoman is only similar to Times-Roman (which is very
similar to the said Nimbus font), but there are subtle differences with
respect to the font metrics (and outlines of severa glyphs as well).
As the fonts the names of which end on "MT" are licensed by Monotype, these
are not free.
But, as TimesNewRoman (and Arial) are common on Windows systems, I suspect
the PDFs have been generated on Windows systems. Technically, if the TrueType fonts
do not forbid embedding, you could transfer these font files from a Win box to your
Unix (Linux?) box, but legally it may be quite another thing.
Helge
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
> Scott Hallenbeck wrote:
>
> >> Scott Hallenbeck wrote:
> >>
> >> >> > Scott Hallenbeck wrote:
> >> [...]
> >> >
> >> > Ok, turning off the error reporting in the script worked fine. Only
> >> > issue I have now is that the fonts are not correct, and need to be
> >> > fixed.
> >> >
> >> > Tried and tried to get the 'xpdfrc' file fix that you recommended to
> >> > work,
> >> > but it seems no matter where I put it, it has no effect. I put it in
> >> > /root/.xpdfrc, /etc/xpdfrc and /etc/xpdf/xpdfrc (according to RHEL
> >> > documentation which is apparently incorrect anyway) and it has no
> >> > effect.
> >> >
> >> > I looked at the alternate pdftops script you directed me to, but was
> >> > unsure just what to do with the file, and since it's a live production
> >> > server I am not into experimenting to figure it out. And since it
> >> > seems, from what I can tell, it would be a global wide change, I wasn't
> >> > sure what other implications it might have.
> >> >
> >> > I feel I am close as the labels do print, but the fonts are not
> >> > correct, so if I can figure that part out, I will have it.
> >> >
> >> > Scott
> >>
> >> As for the fonts, there is nearly nothing what can be done but installing
> >> all the needed fonts, as obviously the needed fonts are not embedded
> >> in the PDFs you print.
> >>
> >> See if you have a utility named pdffonts; if yes, run
> >> pdffonts your_pdf_file
> >> and post the output.
> >> If not, send me a sample PDF.
> >> Maybe I can give you some hints where to get the fonts and how to make
> >> Ghostscript find them.
> >>
> >> Helge
> >>
> >>
> >
> > [root@atl-prodcups03 testprints]# pdffonts label-printest.pdf
> > name type emb sub uni object ID
> > ------------------------------------ ------------ --- --- --- ---------
> > TimesNewRomanPSMT TrueType no no no 13 0
> > TimesNewRomanPS-BoldMT TrueType no no no 14 0
> > Times-Roman Type 1 no no no 2 0
> >
> > I was researching this, and thought there was a way to get them in there,
> > but any direction you can provide would be most appreciated! Thanks again,
> > Scott
> If you execute
> gs -dNOPAUSE -sDEVICE=nullpage label-printest.pdf
> Ghostscript will list what fonts it loads as substitutes for the requested fonts.
>
> I suspect your Ghostscript will substitute NimbusRom9L-Regu and
> NimbusRom9L-Medi.
> But I know that TimesNewRoman is only similar to Times-Roman (which is very
> similar to the said Nimbus font), but there are subtle differences with
> respect to the font metrics (and outlines of severa glyphs as well).
>
> As the fonts the names of which end on "MT" are licensed by Monotype, these
> are not free.
>
> But, as TimesNewRoman (and Arial) are common on Windows systems, I suspect
> the PDFs have been generated on Windows systems. Technically, if the TrueType fonts
> do not forbid embedding, you could transfer these font files from a Win box to your
> Unix (Linux?) box, but legally it may be quite another thing.
>
> Helge
>
Thanks again to your instruction and help, I was able to overcome this minor obstacle as well. Figured out how to map the TimesNewRomanPS-BoldMT to the NimbusRom9L-Medi so it properly prints bold, which really was the only issue.
Thanks again!
Scott
_______________________________________________
cups mailing list
http://lists.easysw.com/mailman/listinfo/cups
)
|
NewsArc Lists
| Culture Pages
| Computing Archive
| Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site:
|
|