Samsung CLP-300 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
Custom sizes not printing [solved]
Posted by: nelfer ()
Date: April 17, 2008 10:32AM

Hi,
After installing the driver, it works beautiful in my Samsung CLP-300 (Black and Color).

However, when I tried to do a 'custom size' test, as per the INSTALL file, with these commands:
lpr -P CLP-300-BW -o PageSize=Custom.4x6in ./testpage.ps
lpr -P CLP-300-Color -o PageSize=Custom.4x6in ./testpage.ps

In the BW (Black) I get the 'custom size' but is only smudges, nothing readable. The color (using either CLP-300 or CLP-600 color correction) does not print anything at all. Not even the lights blink.

Here is the output of /var/log/messages when doing the custom size in color:

Apr 17 10:29:43 blackhole kernel: [2595035.815510] audit(1208442582.891:136):  type=1502 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=19899 profile="/usr/sbin/cupsd"
Apr 17 10:29:43 blackhole kernel: [2595035.888246] audit(1208442583.392:137):  type=1502 operation="inode_permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=19902 profile="/usr/sbin/cupsd"
Apr 17 10:29:43 blackhole foo2qpdl-wrapper: foo2qpdl-wrapper -c -r1200x1200 -pCustom.288x432 -s1 -m0 -d1 -n1 -C10 -Gsamclp300-0.icm
Apr 17 10:29:45 blackhole foo2qpdl-wrapper: gs -sPAPERSIZE=letter -g4800x7200 -r1200x1200 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000  /tmp/icc19902.usecie.ps /tmp/icc19902.crd.ps /tmp/icc19902.selcrd.ps
Apr 17 10:29:45 blackhole foo2qpdl-wrapper: foo2qpdl -r1200x1200 -g4800x7200 -p21 -m0 -n1 -d1 -s1 -z0 -c -u 2x100 -l 2x100   -B -A

And the CUPS logs say this:
Access:
localhost - - [17/Apr/2008:10:29:43 -0400] "POST / HTTP/1.1" 200 418 CUPS-Get-Classes successful-ok
localhost - - [17/Apr/2008:10:29:43 -0400] "POST /printers/CLP-300-color HTTP/1.1" 200 18487 Print-Job successful-ok
localhost - - [17/Apr/2008:10:29:43 -0400] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [17/Apr/2008:10:29:44 -0400] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [17/Apr/2008:10:29:45 -0400] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
localhost - - [17/Apr/2008:10:29:46 -0400] "POST / HTTP/1.1" 200 180 Get-Jobs successful-ok
Error:
I [17/Apr/2008:10:29:43 -0400] [Job 208] Adding start banner page "none".
I [17/Apr/2008:10:29:43 -0400] [Job 208] Adding job file of type application/postscript.
I [17/Apr/2008:10:29:43 -0400] [Job 208] Adding end banner page "none".
I [17/Apr/2008:10:29:43 -0400] [Job 208] Queued on "CLP-300-Color" by "nelson".
I [17/Apr/2008:10:29:43 -0400] [Job 208] Started filter /usr/lib/cups/filter/pstops (PID 19891)
I [17/Apr/2008:10:29:43 -0400] [Job 208] Started filter /usr/lib/cups/filter/foomatic-rip (PID 19892)
I [17/Apr/2008:10:29:43 -0400] [Job 208] Started backend /usr/lib/cups/backend/usb (PID 19893)
I [17/Apr/2008:10:29:46 -0400] [Job 208] Completed successfully.

Any help will be appreciated, as I will be using custom sizes.



Edited 1 time(s). Last edit at 04/18/2008 09:42PM by rickrich.

Options: ReplyQuote
Re: Custom sizes not printing
Posted by: rickrich ()
Date: April 18, 2008 05:30PM

Download and re-install.

From the Changelog:
2008-04-18      Rick Richardson <rick.richardson@comcast.net>
        * foo2qpdl-wrapper:  set clipping to 150x100 for Custom page size.



Edited 1 time(s). Last edit at 04/18/2008 09:41PM by rickrich.

Options: ReplyQuote
Re: Custom sizes not printing [solved]
Posted by: nelfer ()
Date: May 02, 2008 12:43PM

Not quiet solved yet...
Now the black prints, but maybe it is not what I expected. It does print in a 4x6in rectangle, but only a corner of the original page. I was thinking that it was going to shrink it to fit into that space. Was I wrong thinking like that? what will be the use of printing a custom size?

The color still the same, not even the lights blink in the printer.

Just wanted to mention that I'm using Ubuntu 7.10.

Also, it might not be your problem, but some PDF in color do not print at all from Evince.

Options: ReplyQuote
Re: Custom sizes not printing [solved]
Posted by: rickrich ()
Date: May 02, 2008 01:28PM

Is it right. Only a corner gets printed. To shrink the page from say letter to 4 by 6, use psutils.

Checking on color.

Options: ReplyQuote
Re: Custom sizes not printing [solved]
Posted by: rickrich ()
Date: May 02, 2008 05:02PM

$ lpr -P sam300 -o PageSize=Custom.4x6in ~/testpage.ps
request id is sam300-583 (1 file(s)

$ lpr -P sam300_color -o PageSize=Custom.4x6in ~/testpage.ps
request id is sam300_color-584 (1 file(s))

Both printed. Mono and color.

From /var/log/messages:
$ grep foo2qpdl /var/log/messages
May  2 15:53:42 dual foo2qpdl-wrapper: foo2qpdl-wrapper -r1200x600 -pCustom.288x432 -s1 -m0 -d1 -n1 -C10 -Gsamclp300-0.icm
May  2 15:53:44 dual foo2qpdl-wrapper: gs.foo -sPAPERSIZE=letter -g4800x3600 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000  
May  2 15:53:44 dual foo2qpdl-wrapper: foo2qpdl -r1200x600 -g4800x3600 -p21 -m0 -n1 -d1 -s1 -z0  -u 150x100 -l 150x100       
May  2 15:54:12 dual foo2qpdl-wrapper: foo2qpdl-wrapper -c -r1200x600 -pCustom.288x432 -s1 -m0 -d1 -n1 -C10 -Gsamclp300-0.icm
May  2 15:54:16 dual foo2qpdl-wrapper: gs.foo -sPAPERSIZE=letter -g4800x3600 -r1200x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000  /tmp/icc23900.usecie.ps /tmp/icc23900.crd.ps /tmp/icc23900.selcrd.ps
May  2 15:54:16 dual foo2qpdl-wrapper: foo2qpdl -r1200x600 -g4800x3600 -p21 -m0 -n1 -d1 -s1 -z0 -c -u 150x100 -l 150x100   -B -A   
$

Note: -u 150x100 and -l 150x100. These are important!!!



Edited 1 time(s). Last edit at 05/02/2008 05:06PM by rickrich.

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.