Canon and CUPS (was Re: Printing with Epson 880, CUPS, unstable - landscape only)
On Tue, Oct 02, 2001 at 11:56:24PM -0500, Oleksandr Moskalenko wrote: | Ok, here's the details : [ snipped here, if you want them see the old thread (I forgot to change the subject last time) or ask for a private post ] | Not boring dman, fascinating! Cool. | I must say it takes the time I don't have to go into such depth of | taking CUPS apart. I hope you get it worked out. I couldn't see | clearly what machine you are trying to print from and to which | machine. Are you printing directly from your Debian box to a printer | on LPT? I am trying to find a way to get the correct color out of the printer without manually running gs. I don't think I can achieve this on winders at all, so the printer will be directly connected to the Debian box. | Anyways, did you go to linuxprinting.org? There is A LOT of stuff for | BJC 610 there I haven't been there recently, nor really looked for that printer before. I'll check it out soon. | and it is listed as Working Perfectly [...] | Driver Information | | bjc600 | Traditional Ghostscript driver. [...] Yep, using ghostscript with 'bjc600' specified as the DEVICE produces the correct byte stream, except that I need to run it manually and direct the stream to /dev/printers/0. I want CUPS to do this automagically when a request is received from the windows client. Thanks for the info. -D
Re: Printing with Epson 880, CUPS, unstable - landscape only
On Tue, Oct 02, 2001 at 07:08:25PM -0500, Oleksandr Moskalenko wrote: | * dman ([EMAIL PROTECTED]) wrote: | Cool. I think the | | *LandscapeOrientation: Plus90 | | line the PPD is what does it. The printer must default to landscape, | so the ppd tells the filter/driver to rotate the page by 90 so it | comes out portrait. Try Plus270 ;-) -- if you want the paper to come | out with the bottom of the page first. | | Double cool. I guess reading the files helps :-) :-) | (BTW, I've been trying to get a Canon BJC-610 running on the network | lately so I'm interested in seeing how the various things work in | cups. I think I have a solution, but I can't test it until I go home | and have the printer to play with.) | | Have you tried anything else? I've tried getting my laptop to print to | a postscript printer attached to a WinNT 4.0 machine here at work, but | nothing but the CUPS did the job. However, CUPS is taking a whopping 6Mb | of laptop's precious 32Mb, so I've been looking for alternatives though | unsuscessfully. I tried xpdq, but it just fails silently on me as the | author of the only samba interface I could find on the web warned. Ok, here's the details : o Canon BJC-610 inkjet printer, parallel port o The driver from Canon doesn't work over samba -- it *needs* the parallel port (it was originally written pre-win95 too). o win95/98 come with some MS drivers for the 600 and 600e. I've had it set up with the 600e driver which works over samba but people are getting annoyed because the colors are wrong (too much cyan) (I also found out that samba in win95/98 is broken in such a way tht 98 *can't* share a printer to a 95 client for anything but text. I must have the 95 box as the server.) o for a recent print job I tried moving the printer straight onto LPT1 and using Canon's driver. It keeps complaining about the paper thickness lever even though it is in the right place. (Once, but only once, when I switch the cable it worked but not again) o I downloaded ghostscript to my Debian box and tried printing -- I can manually take PS input and get bjc output which I can cat to /dev/printers/0 and get the correct colors, etc, from the printer o I can do the same with gs on windows, but it is still a PITA (I'm using CUPS on my Debian box, hopefully I can get it to filter though gs automatically, then share it from there) o CUPS allows me to specify a filter using *cupsFilter: in a PPD file (ok, I ripped the PPD file off from gs because it was tne only place I found one) o I can write a filter that is just a wrapper around gs Current status : I specified a filter to use. CUPS' error log shows that it tries to run it. I wrote the filter (an sh script) but it isn't working. It works if I run it from the shell, but not when CUPS runs it. It gives an exit status of 2. ('gs' is the last command run, /bin/sh is ash) The next step is to determine what causes gs to give exit code 2. Possibly it means the input was no good. The example in the CUPS documentation shows application/vnd.cups-raster as the input type to the filter, but I am trying to use application/postscript. I don't see any raster to ps converter in the standard setup either. I hope I didn't bore you too much with this :-). If you have any suggestion, they are most welcome. -D
Re: Printing with Epson 880, CUPS, unstable - landscape only
Ok, here's the details : o Canon BJC-610 inkjet printer, parallel port o The driver from Canon doesn't work over samba -- it *needs* the parallel port (it was originally written pre-win95 too). o win95/98 come with some MS drivers for the 600 and 600e. I've had it set up with the 600e driver which works over samba but people are getting annoyed because the colors are wrong (too much cyan) (I also found out that samba in win95/98 is broken in such a way tht 98 *can't* share a printer to a 95 client for anything but text. I must have the 95 box as the server.) o for a recent print job I tried moving the printer straight onto LPT1 and using Canon's driver. It keeps complaining about the paper thickness lever even though it is in the right place. (Once, but only once, when I switch the cable it worked but not again) o I downloaded ghostscript to my Debian box and tried printing -- I can manually take PS input and get bjc output which I can cat to /dev/printers/0 and get the correct colors, etc, from the printer o I can do the same with gs on windows, but it is still a PITA (I'm using CUPS on my Debian box, hopefully I can get it to filter though gs automatically, then share it from there) o CUPS allows me to specify a filter using *cupsFilter: in a PPD file (ok, I ripped the PPD file off from gs because it was tne only place I found one) o I can write a filter that is just a wrapper around gs Current status : I specified a filter to use. CUPS' error log shows that it tries to run it. I wrote the filter (an sh script) but it isn't working. It works if I run it from the shell, but not when CUPS runs it. It gives an exit status of 2. ('gs' is the last command run, /bin/sh is ash) The next step is to determine what causes gs to give exit code 2. Possibly it means the input was no good. The example in the CUPS documentation shows application/vnd.cups-raster as the input type to the filter, but I am trying to use application/postscript. I don't see any raster to ps converter in the standard setup either. I hope I didn't bore you too much with this :-). If you have any suggestion, they are most welcome. -D Not boring dman, fascinating! I must say it takes the time I don't have to go into such depth of taking CUPS apart. I hope you get it worked out. I couldn't see clearly what machine you are trying to print from and to which machine. Are you printing directly from your Debian box to a printer on LPT? Anyways, did you go to linuxprinting.org? There is A LOT of stuff for BJC 610 there and it is listed as Working Perfectly -610 Printer Canon BJC-610 Type Color Inkjet Resolution 720x720 Works? Perfectly Notes Uses bjc610*.upp files; see driver links. Different uniprint drivers for 360/720dpi printing and different paper types. Printer does not support PJL. Printer supports direct text printing with the `us-ascii' charset. No known autodetection methods. This information has been proofread. Canon's history of cooperation with the free software community may be found on the vendor report card page. You can participate in the LinuxPrinting.org Canon discussion forum here on the web, via NNTP, or by email. Driver Information bjc600 Traditional Ghostscript driver. Type: Ghostscript bjc610a0.upp The printing system/execution information for this driver serves for all bjc610*.upp drivers. Type: Ghostcript Uniprint bjc610a1.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a2.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a3.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a4.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a5.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a6.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a7.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610a8.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b1.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b2.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b3.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b4.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b6.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b7.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint bjc610b8.upp See bjc610a0.upp for more information. Type: Ghostcript Uniprint --- Oleksandr Moskalenko Department of Agronomy Purdue University [EMAIL PROTECTED] --- My PGP public
Printing with Epson 880, CUPS, unstable - landscape only
Hi. I've been attempting to get an Epson Stylus Color 880 printer to work with my Debian unstable system. I'm running the latest version of CUPS from the unstable archive and have been unsuccessful at getting documents to print in portrait mode. In other words, every document I print whether it is text, ps, or pdf comes out in landscape mode. I have not modified any of the CUPS config files other than to setup my printer through the web interface. For comparison I took an Epson Stylus Color 777 and set it up on a similar system and it worked correctly printing portrait documents in portrait mode. Has anyone experience anything like this? I'm stumped as to what configuration files I need to mess with to get the CUPS rasterizer to print the documents in the correct orientation. Any suggestions? Many thanks. Pete
Re: Printing with Epson 880, CUPS, unstable - landscape only
#include hallo.h Pete Willemsen wrote on Tue Oct 02, 2001 um 12:39:11PM: I've been attempting to get an Epson Stylus Color 880 printer to work with my Debian unstable system. I'm running the latest version of CUPS Please try the testing version of cupsys-driver-gimpprint. I had bad experience with the beta version of that package in unstable. And if the testing version works, please report a new bug on the unstable version. Gruss/Regards, Eduard. -- Air DOS: Die Fluggäste schieben das Flugzeug an, bis es schnell genug ist und gleitet. Dann springen alle auf und fliegen, bis es wieder landet. Danach schiebt man es wieder an, etc. etc.
Re: Printing with Epson 880, CUPS, unstable - landscape only
On Tue, Oct 02, 2001 at 12:39:11PM -0600, Pete Willemsen wrote: | I've been attempting to get an Epson Stylus Color 880 printer to work | with my Debian unstable system. I'm running the latest version of CUPS | from the unstable archive and have been unsuccessful at getting | documents to print in portrait mode. In other words, every document I | print whether it is text, ps, or pdf comes out in landscape mode. I | have not modified any of the CUPS config files other than to setup my | printer through the web interface. | | For comparison I took an Epson Stylus Color 777 and set it up on a | similar system and it worked correctly printing portrait documents in | portrait mode. | | Has anyone experience anything like this? I'm stumped as to what | configuration files I need to mess with to get the CUPS rasterizer to | print the documents in the correct orientation. Any suggestions? I have no experience with that particular printer, but try going to the Configure Printer button in the web interface. See if switching the orientation helps at all (if you even have that option). If that doesn't help, try playing with the ppd file (/etc/cups/ppd/name.ppd) and see if tweaking anything helps. I have no idea if it will or what to change, it's just a guess. Try your intuition :-). HTH, -D
Re: Printing with Epson 880, CUPS, unstable - landscape only
* Pete Willemsen ([EMAIL PROTECTED]) wrote: Hi. I've been attempting to get an Epson Stylus Color 880 printer to work with my Debian unstable system. I'm running the latest version of CUPS from the unstable archive and have been unsuccessful at getting documents to print in portrait mode. In other words, every document I print whether it is text, ps, or pdf comes out in landscape mode. I have not modified any of the CUPS config files other than to setup my printer through the web interface. For comparison I took an Epson Stylus Color 777 and set it up on a similar system and it worked correctly printing portrait documents in portrait mode. Has anyone experience anything like this? I'm stumped as to what configuration files I need to mess with to get the CUPS rasterizer to print the documents in the correct orientation. Any suggestions? Many thanks. Pete Hi Pete, I don't know if it'll help, but here are my ppd and cupsd.conf files attached. THese surely work on my unstable system with an ESC 800 printer, just like yours. Alex. --- Oleksandr Moskalenko [EMAIL PROTECTED] --- My PGP public key can be found at http://www.tagancha.org/pgp Public key ID and fingerprint - pub 1024D/6C5F196B 2001-08-17 Oleksandr V. Moskalenko (Alex) [EMAIL PROTECTED] Fingerprint = EE63 C471 ADBA 5D80 ADFB 1054 DA28 6F32 6C5F 196B *PPD-Adobe: 4.3 *% *% $Id: stcolor.ppd,v 1.6 2001/02/22 16:48:12 mike Exp $ *% *% Sample EPSON Stylus Color driver PPD file for the Common UNIX Printing *% System (CUPS). *% *% Copyright 1997-2001 by Easy Software Products. *% *% These coded instructions, statements, and computer programs are the *% property of Easy Software Products and are protected by Federal *% copyright law. Distribution and use rights are outlined in the file *% LICENSE.txt which should have been included with this file. If this *% file is missing or damaged please contact Easy Software Products *% at: *% *% Attn: CUPS Licensing Information *% Easy Software Products *% 44141 Airport View Drive, Suite 204 *% Hollywood, Maryland 20636-3111 USA *% *% Voice: (301) 373-9603 *% EMail: [EMAIL PROTECTED] *% WWW: http://www.cups.org *% *FormatVersion: 4.3 *FileVersion: 1.1 *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName:STCOLOR.PPD *Manufacturer: ESP *Product: (CUPS v1.1) *cupsVersion: 1.1 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter:application/vnd.cups-raster 0 rastertoepson *cupsColorProfile 180dpi/-: 1.0 1.0 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0 *cupsColorProfile 360dpi/-: 1.0 1.5 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0 *cupsColorProfile 720dpi/-: 1.0 2.5 1.0 0.0 -0.2 -0.4 1.0 0.0 -0.2 0.0 1.0 *ModelName: EPSON Stylus Color Series *ShortNickName: EPSON Stylus Color Series *NickName: EPSON Stylus Color Series CUPS v1.1 *PSVersion: (3010.000) 550 *LanguageLevel: 3 *ColorDevice: True *DefaultColorSpace: RGB *FileSystem:False *Throughput:1 *LandscapeOrientation: Plus90 *VariablePaperSize: False *TTRasterizer: Type42 *OpenUI *PageSize/Media Size: PickOne *OrderDependency: 10 AnySetup *PageSize *DefaultPageSize: Letter *PageSize Letter: /PageSize[612 792]/ImagingBBox nullsetpagedevice *PageSize Legal:/PageSize[612 1008]/ImagingBBox nullsetpagedevice *PageSize A4: /PageSize[595 842]/ImagingBBox nullsetpagedevice *CloseUI: *PageSize *OpenUI *PageRegion: PickOne *OrderDependency: 10 AnySetup *PageRegion *DefaultPageRegion: Letter *PageRegion Letter: /PageSize[612 792]/ImagingBBox nullsetpagedevice *PageRegion Legal: /PageSize[612 1008]/ImagingBBox nullsetpagedevice *PageRegion A4: /PageSize[595 842]/ImagingBBox nullsetpagedevice *CloseUI: *PageRegion *DefaultImageableArea: Letter *ImageableArea Letter: 8.60 39.60 603.40 766.49 *ImageableArea Legal: 8.60 39.60 603.40 982.49 *ImageableArea A4: 8.60 39.60 586.40 816.49 *DefaultPaperDimension: Letter *PaperDimension Letter: 612 792 *PaperDimension Legal: 612 1008 *PaperDimension A4: 595 842 *OpenUI *Resolution/Output Resolution: PickOne *OrderDependency: 20 AnySetup *Resolution *DefaultResolution: 360dpi *Resolution 180dpi/180 DPI: /HWResolution[180 180]setpagedevice *Resolution 360dpi/360 DPI: /HWResolution[360 360]setpagedevice{0. exp}bind settransfer *Resolution 720dpi/720 DPI: /HWResolution[720 720]setpagedevice{0.4 exp}bind settransfer *CloseUI: *Resolution *OpenUI *ColorModel/Output Mode: PickOne *OrderDependency: 10 AnySetup *ColorModel *DefaultColorModel: Gray *ColorModel CMYK/Color: /cupsColorOrder 1/cupsColorSpace 8/cupsCompression 1setpagedevice *ColorModel Gray/Grayscale: /cupsColorOrder 0/cupsColorSpace 3/cupsCompression 1setpagedevice *CloseUI: *ColorModel *DefaultFont: Courier *Font AvantGarde-Book:
Re: Printing with Epson 880, CUPS, unstable - landscape only
On Tue, Oct 02, 2001 at 04:12:04PM -0500, Oleksandr Moskalenko wrote: | * Pete Willemsen ([EMAIL PROTECTED]) wrote: ... | Hi Pete, | I don't know if it'll help, but here are my ppd and cupsd.conf | files attached. THese surely work on my unstable system with an ESC 800 | printer, just like yours. Cool. I think the *LandscapeOrientation: Plus90 line the PPD is what does it. The printer must default to landscape, so the ppd tells the filter/driver to rotate the page by 90° so it comes out portrait. Try Plus270 ;-) -- if you want the paper to come out with the bottom of the page first. -D (BTW, I've been trying to get a Canon BJC-610 running on the network lately so I'm interested in seeing how the various things work in cups. I think I have a solution, but I can't test it until I go home and have the printer to play with.)
Re: Printing with Epson 880, CUPS, unstable - landscape only
* dman ([EMAIL PROTECTED]) wrote: Cool. I think the *LandscapeOrientation: Plus90 line the PPD is what does it. The printer must default to landscape, so the ppd tells the filter/driver to rotate the page by 90° so it comes out portrait. Try Plus270 ;-) -- if you want the paper to come out with the bottom of the page first. -D Double cool. I guess reading the files helps :-) Al. (BTW, I've been trying to get a Canon BJC-610 running on the network lately so I'm interested in seeing how the various things work in cups. I think I have a solution, but I can't test it until I go home and have the printer to play with.) Have you tried anything else? I've tried getting my laptop to print to a postscript printer attached to a WinNT 4.0 machine here at work, but nothing but the CUPS did the job. However, CUPS is taking a whopping 6Mb of laptop's precious 32Mb, so I've been looking for alternatives though unsuscessfully. I tried xpdq, but it just fails silently on me as the author of the only samba interface I could find on the web warned. Al. --- Oleksandr Moskalenko [EMAIL PROTECTED] --- My PGP public key can be found at http://www.tagancha.org/pgp Public key ID and fingerprint - pub 1024D/6C5F196B 2001-08-17 Oleksandr V. Moskalenko (Alex) [EMAIL PROTECTED] Fingerprint = EE63 C471 ADBA 5D80 ADFB 1054 DA28 6F32 6C5F 196B
Re: Printing with Epson 880, CUPS, unstable - landscape only
Thanks for all the suggestions. The fun continues... :) I decided to go and hook up the Epson 880 to a Debian unstable machine (running 2.4.9) that I installed and that I've been successful at printing to an Epson 777. I went to the CUPS web administration tool, changed the printer driver type and then immediately sent an ASCII file, a PS file, and PDF file to the printer. Each and every document came out with the correct orientation (portrait)! I didn't set up the other Debian machine (one where CUPS only prints landscape), but I now suspect that something is conflicting with the cups-gimp-print drivers and causing the re-orientation. Unfortunately, I have no idea what this may be. Also, I checked the working configuration's ppd file and it has a LandscapeOrientation: Plus90 just as the machine that prints consistently in landscape mode. I'll pass along information if I figure out what's forcing the landscape orientation on the one machine. Pete On Tuesday 02 October 2001 05:27 pm, dman wrote: On Tue, Oct 02, 2001 at 04:12:04PM -0500, Oleksandr Moskalenko wrote: | * Pete Willemsen ([EMAIL PROTECTED]) wrote: ... | Hi Pete, | I don't know if it'll help, but here are my ppd and cupsd.conf | files attached. THese surely work on my unstable system with an ESC 800 | printer, just like yours. Cool. I think the *LandscapeOrientation: Plus90 line the PPD is what does it. The printer must default to landscape, so the ppd tells the filter/driver to rotate the page by 90° so it comes out portrait. Try Plus270 ;-) -- if you want the paper to come out with the bottom of the page first. -D (BTW, I've been trying to get a Canon BJC-610 running on the network lately so I'm interested in seeing how the various things work in cups. I think I have a solution, but I can't test it until I go home and have the printer to play with.)