Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can print!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Fri Apr 19, 2002 8:19 am    Post subject: I can print! Reply with quote

I have tried both cups and pdq. I have recompiled the kernel, and I think that I have enabled the right options. Users are in the lp group.

Tests with cups and pdq both fail. I have tried:
cat test.txt > /dev/lp0
,but that didn't work either.

My devices don't look right, but MAKEDEV complained when I tried to recreate them.

here is a listing of devices:
chip@avila chip $ ls -l /dev/lp*
lr-xr-xr-x 1 root root 10 Apr 19 00:40 /dev/lp0 -> printers/0
crw-rw---- 1 root lp 6, 0 Apr 19 00:40 /dev/lp0-
crw-rw---- 1 root lp 6, 1 Apr 19 00:40 /dev/lp1-
crw-rw---- 1 root lp 6, 2 Apr 19 00:40 /dev/lp2-
Note the "-" on the end of each device.

Here is what MAKEDEV returns:
root@avila dev # ./MAKEDEV lp
mv: cannot move `lp0-' to `lp0': Operation not permitted
mv: cannot move `lp1-' to `lp1': Operation not permitted
mv: cannot move `lp2-' to `lp2': Operation not permitted

I do realize that I probably caused my own problems when attempting to fix printing. Can someone tell me, or give a resource that will give me step-by-step instructions to set up for printing?

Thanks,
Chip


Last edited by chip_s_ahoy on Tue Apr 30, 2002 4:35 am; edited 1 time in total
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Sat Apr 20, 2002 7:58 pm    Post subject: Reply with quote

Printing was a pain to set up for me as well. I used the following as a guide, which helped me to get things up and running:

http://www.tldp.org/HOWTO/Printing-HOWTO/index.html

This doc might be helpful as well:

http://www.tldp.org/HOWTO/Printing-Usage-HOWTO.html

hth

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Mon Apr 22, 2002 5:18 am    Post subject: Reply with quote

Thank you, I've tried those.

I have the idea that the actual print management system may be ok, but the devices not. I think that

cat test.txt > /dev/lp0
or
cat test.txt > /dev/parport0

should elicit some response from the printer.

dmesg complains that:

plip: parport0 has no IRQ. Using IRQ-less mode,which is fairly inefficient!
NET3 PLIP version 2.4-parport gniibe@mri.co.jp
plip0: Parallel port at 0x3bc, not using IRQ.

when the bios says that the parallel port is using IRQ 7.

Thanks, Chip
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Apr 22, 2002 5:41 am    Post subject: Reply with quote

See if your parallel port is set to ECP mode in the BIOS. If not, set it to ECP.
http://www.hlug.org/presentations/cups/printing.html
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Wed Apr 24, 2002 6:33 am    Post subject: Reply with quote

OK, I've worked through the how-to files. No success. Googling hasn't helped yet.

I tried each setting in the bios. No joy.

The printer does not respond to cat or lp or cups gui tools.

dmesg says (currently, I did try ECP) :
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
parport0: faking semi-colon
parport0: Printer, HEWLETT-PACKARD DESKJET 720C
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).

So it isn't seeing the port using interrupt 7, like the bios says it is.
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Apr 25, 2002 1:15 am    Post subject: Reply with quote

Try emerging ghostscript. For some reason it isnt compiled along with cups and such also for cups you should do an rc-update cupsd default i think. The description is in the desktop manual. Maybe the simplest explanation is the best. Cups works but I could never get pdq to work dont ask me why
Back to top
dArkMaGE
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 152

PostPosted: Thu Apr 25, 2002 1:22 am    Post subject: Reply with quote

check to make sure you enabled all the options you need (or the right ones) in your kernel
its kinda confusing, you have to enabled the parallel port in one section, and in another section (maybe character devices) you have to enabled printers specifically...
maybe you got one and not the other
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Sun Apr 28, 2002 6:57 am    Post subject: Reply with quote

Ok, I have tried all these things. Maybe gentoo isn't for me. Windows will print
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Sun Apr 28, 2002 7:22 am    Post subject: Reply with quote

Looks like the HP DeskJet 720C is some sort of "winprinter"... You'll need a special driver for it:

http://www.linuxprinting.org/show_printer.cgi?recnum=61504
http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Sun Apr 28, 2002 7:41 pm    Post subject: Reply with quote

Yes, I have been trying to use the pnm2ppa driver.

Thanks, Chip
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Tue Apr 30, 2002 5:01 am    Post subject: Printing with the hp 722c Reply with quote

OK, now I can print. Thank you for all the kind suggestions.

The problem was not difficult installation and setup. The problem was conflicting and confusing instructions. Well...they were for me!

HP's web site was very misleading. It indicated that the hp722c will print with the hpijs driver http://hpinkjet.sourceforge.net/. This isn't so. However, if hpijs is the software you need, a Gentoo ebuild is available. Many HP printers are supported.

Another web site that gave me hope was http://hpoj.sourceforge.net/index.shtml. Many hp printers, and some scanners and all-in-one devices are supported. No joy there for me.

The answer was the simple-to-use PPD-O-Matic at http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa.

Pick your make and model of printer from the PPD-O-Matic, press the "Generate PPD file" button, and a text file is displayed. Save that file to /usr/share/cups/model/. I named the file hp722cpnm2ppa.ppd.

Restart cupsd with /etc/init.d/cupsd restart. Configure the printer with the cups configuration tool. http://localhost:631/printers. Select your new driver.

Print. Be happy. Not cranky anymore.
Back to top
View user's profile Send private message
newfloat
n00b
n00b


Joined: 24 Apr 2002
Posts: 24
Location: Atlanta

PostPosted: Thu May 02, 2002 12:59 am    Post subject: Same problem Reply with quote

Hey since you finally got yours working do you think you could help some of us less fortunate souls still having the same problem out???? I know I'd greatly appreciate it. Kinda a little personal how-to from you??? Thanks either way, i fell like im already closer.
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 02, 2002 1:07 am    Post subject: Re: Same problem Reply with quote

newfloat wrote:
Kinda a little personal how-to from you???


Am I missing something? chip_s_ahoy's last post was precisely that: a little how-to on how he got his 722c working.

Not sure what you're asking for is clear.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Thu May 02, 2002 4:52 am    Post subject: How-to Reply with quote

Thanks, but the above post was really all that I did.

The problem wasn't with a difficult install, just finding the right thing _to_ install. Cups install and configuration was just a matter of following the Gentoo Desktop Configuration Guide.

The hard part is, if your printer isn't directly supported by Cups, finding the right driver.

Cups has some drivers, HP has some drivers, the HPOJ project has some drivers, and Linuxprint.org finally had the one that I needed to drive a WinPrinter.

Scratch that, now it's my LinPrinter

If you have a specific question, I would be happy to try to answer. But I'm not an expert, just someone who kept trying...
Back to top
View user's profile Send private message
newfloat
n00b
n00b


Joined: 24 Apr 2002
Posts: 24
Location: Atlanta

PostPosted: Thu May 02, 2002 3:34 pm    Post subject: sorry if i wasn't really clear Reply with quote

The thing that im still having problems with is the devices. I get teh same listing you did when i did the 'MAKEDEV lp'. And when i try to add a printer it gets added to device '/dev/unknown-parallel0'. When i print it still won't work cause it can't find the device. How did you get around the device problem you were having? That's more what i wanted than a real how-to. Sorry if I was unclear. Thanks for any help again.
Back to top
View user's profile Send private message
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Fri May 03, 2002 7:16 am    Post subject: device problem Reply with quote

Well, that's just it. I did think that I was having a device problem. But that turned out not to be the case. I didn't understand why I couldn't use MAKEDEV to just re-create the devices. Well, I'm still unclear on why MAKEDEV didn't do what I wanted, but now I know that print drivers were the problem, not devices.

With these models of HP printers, using the wrong driver has pretty much the same effect as sending a file to /dev/null. The printer does not do any formatting or processing of a document. It needs to get machine-specific commands from the PC to respond at all. Most printers will at least produce some response to any input - lights blinking, printing garbage, whatever. These HP "WinPrinters" will just sit there, dumb and dumber.

If you have one of these printers, carefully select the right driver from www.linuxprinting.org. Mine was http://www.linuxprinting.org/ppd-o-matic.cgi?driver=pnm2ppa&printer=61536&.submit=Generate+PPD+file

Use Save As to put the file on your machine
su to root
Copy the file to the directory /usr/share/cups/model/, I used the filename hp722cpnm2ppa.ppd. I think that the ".ppd" is necessary.
Re-start cupsd with "/etc/init.d/cupsd restart".
Aim your browser at localhost:631 and step through the Cups configuration, selecting the parallel port connection, and your new driver.
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Fri Jun 07, 2002 7:28 am    Post subject: Reply with quote

chip_s_ahoy:

You have just made my day! I just got my printer working using the instructions you posted here in the post above mine. OMG! I was freaking out with all of the options there are. Thinking I was going to have to go command line or something just to print a simple document, let alone a picture. I have an usb canon s630 and used this driver (incase someone else needs it)
Code:
 *PPD-Adobe: "4.3"
*%
*% For information on using this, and to obtain the required backend
*% script, consult http://www.linuxprinting.org/ppd-doc.html
*%
*% PPD-O-MATIC generated this PPD file. It is for use with all programs
*% and environments which use PPD files for dealing with printer capabilty
*% information. The printer must be configured with a Foomatic backend
*% filter script. This file and the backend filter script work together to
*% support PPD-controlled printer driver option access with arbitrary free
*% software printer drivers and printing spoolers.
*%
*% You may save this file as 'Canon-S630-bj8pa06n.upp-ppd.ppd'
*%
*%
*FormatVersion:   "4.3"
*FileVersion:   "1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:   "COM.PPD"
*Manufacturer:   "Canon"
*Product:   "S630"
*cupsVersion:   1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:   "application/vnd.cups-postscript 0 cupsomatic"
*ModelName:     "S630"
*ShortNickName: "S630"
*NickName:      "Canon S630, Foomatic + bj8pa06n.upp"
*PSVersion:   "(3010.000) 550"
*PSVersion:   "(3010.000) 651"
*PSVersion:   "(3010.000) 652"
*PSVersion:   "(3010.000) 653"
*LanguageLevel:   "3"
*ColorDevice:   True
*DefaultColorSpace: RGB
*FileSystem:   False
*Throughput:   "1"
*LandscapeOrientation: Plus90
*VariablePaperSize: False
*TTRasterizer:   Type42

 

*OpenUI *PageSize/Page Size: PickOne
*DefaultPageSize: Letter
*PageSize Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageSize 11x17/11x17: "<</PageSize[792 1224]/ImagingBBox null>>setpagedevice"
*PageSize A3/A3: "<</PageSize[842 1191]/ImagingBBox null>>setpagedevice"
*PageSize A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice"
*PageSize B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageSize Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageSize EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageSize EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageSize EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
*PageSize EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageSize Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageSize Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: Letter
*PageRegion Letter/US Letter: "<</PageSize[612 792]/ImagingBBox null>>setpagedevice"
*PageRegion A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
*PageRegion 11x17/11x17: "<</PageSize[792 1224]/ImagingBBox null>>setpagedevice"
*PageRegion A3/A3: "<</PageSize[842 1191]/ImagingBBox null>>setpagedevice"
*PageRegion A5/A5: "<</PageSize[421 595]/ImagingBBox null>>setpagedevice"
*PageRegion B5/B5 (JIS): "<</PageSize[516 729]/ImagingBBox null>>setpagedevice"
*PageRegion Env10/Envelope #10: "<</PageSize[297 684]/ImagingBBox null>>setpagedevice"
*PageRegion EnvC5/Envelope C5: "<</PageSize[459 649]/ImagingBBox null>>setpagedevice"
*PageRegion EnvDL/Envelope DL: "<</PageSize[312 624]/ImagingBBox null>>setpagedevice"
*PageRegion EnvISOB5/Envelope B5: "<</PageSize[499 709]/ImagingBBox null>>setpagedevice"
*PageRegion EnvMonarch/Envelope Monarch: "<</PageSize[279 540]/ImagingBBox null>>setpagedevice"
*PageRegion Executive/Executive: "<</PageSize[522 756]/ImagingBBox null>>setpagedevice"
*PageRegion Legal/US Legal: "<</PageSize[612 1008]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*DefaultImageableArea: Letter
*ImageableArea Letter/US Letter: "0 0 612 792"
*ImageableArea A4/A4: "0 0 595 842"
*ImageableArea 11x17/11x17: "0 0 792 1224"
*ImageableArea A3/A3: "0 0 842 1191"
*ImageableArea A5/A5: "0 0 421 595"
*ImageableArea B5/B5 (JIS): "0 0 516 729"
*ImageableArea Env10/Envelope #10: "0 0 297 684"
*ImageableArea EnvC5/Envelope C5: "0 0 459 649"
*ImageableArea EnvDL/Envelope DL: "0 0 312 624"
*ImageableArea EnvISOB5/Envelope B5: "0 0 499 709"
*ImageableArea EnvMonarch/Envelope Monarch: "0 0 279 540"
*ImageableArea Executive/Executive: "0 0 522 756"
*ImageableArea Legal/US Legal: "0 0 612 1008"

*DefaultPaperDimension: Letter
*PaperDimension Letter/US Letter: "612 792"
*PaperDimension A4/A4: "595 842"
*PaperDimension 11x17/11x17: "792 1224"
*PaperDimension A3/A3: "842 1191"
*PaperDimension A5/A5: "421 595"
*PaperDimension B5/B5 (JIS): "516 729"
*PaperDimension Env10/Envelope #10: "297 684"
*PaperDimension EnvC5/Envelope C5: "459 649"
*PaperDimension EnvDL/Envelope DL: "312 624"
*PaperDimension EnvISOB5/Envelope B5: "499 709"
*PaperDimension EnvMonarch/Envelope Monarch: "279 540"
*PaperDimension Executive/Executive: "522 756"
*PaperDimension Legal/US Legal: "612 1008"

*OpenUI *Mode/Printing Mode: PickOne
*DefaultMode: 600PlainNormal
*Mode 600IronOnNormal/600x600dpi, iron-on transfer sheets, normal quality: "%% FoomaticOpt: Mode=600IronOnNormal"
*Mode 600PlainNormal/600x600dpi, plain paper, normal quality: "%% FoomaticOpt: Mode=600PlainNormal"
*Mode 600TransparencyNormal/600x600dpi, transparencies, normal quality: "%% FoomaticOpt: Mode=600TransparencyNormal"
*CloseUI: *Mode


*% Generic boilerplate PPD stuff as standard PostScript fonts and so on



*DefaultFont: Courier
*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
*Font Bookman-Light: Standard "(001.004S)" Standard ROM
*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
*Font Courier: Standard "(002.004S)" Standard ROM
*Font Courier-Bold: Standard "(002.004S)" Standard ROM
*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
*Font Helvetica: Standard "(001.006S)" Standard ROM
*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
*Font Symbol: Special "(001.007S)" Special ROM
*Font Times-Bold: Standard "(001.007S)" Standard ROM
*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
*Font Times-Italic: Standard "(001.007S)" Standard ROM
*Font Times-Roman: Standard "(001.007S)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
*Font ZapfDingbats: Special "(001.004S)" Standard ROM

*% What follows is a dumped representation of the internal Perl data
*% structure representing one entry in the Linux Printing Database.
*% This can be used by frontends to give advanced features which are
*% beyond the possibilities which can be defined by Adobe-compliant PPDs.
*% The lines are comment lines, so that programs which require
*% Adobe-compliant PPD files can handle this file. They simply ignore
*% this additional information.
*%
*% COMDATA #$VAR1 = {
*% COMDATA #  'type' => 'U',
*% COMDATA #  'usb_des' => undef,
*% COMDATA #  'pjl' => undef,
*% COMDATA #  'pnp_mfg' => undef,
*% COMDATA #  'args_byname' => {
*% COMDATA #    'PageSize' => {
*% COMDATA #      'vals_byname' => {
*% COMDATA #        'Letter' => {
*% COMDATA #          'comment' => 'US Letter',
*% COMDATA #          'idx' => 'ev/1',
*% COMDATA #          'value' => 'Letter',
*% COMDATA #          'driverval' => '612 792'
*% COMDATA #        },
*% COMDATA #        'EnvMonarch' => {
*% COMDATA #          'comment' => 'Envelope Monarch',
*% COMDATA #          'idx' => 'ev/902',
*% COMDATA #          'value' => 'EnvMonarch',
*% COMDATA #          'driverval' => '279 540'
*% COMDATA #        },
*% COMDATA #        'EnvC5' => {
*% COMDATA #          'comment' => 'Envelope C5',
*% COMDATA #          'idx' => 'ev/900',
*% COMDATA #          'value' => 'EnvC5',
*% COMDATA #          'driverval' => '459 649'
*% COMDATA #        },
*% COMDATA #        '11x17' => {
*% COMDATA #          'comment' => '11x17',
*% COMDATA #          'idx' => 'ev/880',
*% COMDATA #          'value' => '11x17',
*% COMDATA #          'driverval' => '792 1224'
*% COMDATA #        },
*% COMDATA #        'Executive' => {
*% COMDATA #          'comment' => 'Executive',
*% COMDATA #          'idx' => 'ev/895',
*% COMDATA #          'value' => 'Executive',
*% COMDATA #          'driverval' => '522 756'
*% COMDATA #        },
*% COMDATA #        'A3' => {
*% COMDATA #          'comment' => 'A3',
*% COMDATA #          'idx' => 'ev/115',
*% COMDATA #          'value' => 'A3',
*% COMDATA #          'driverval' => '842 1191'
*% COMDATA #        },
*% COMDATA #        'A4' => {
*% COMDATA #          'comment' => 'A4',
*% COMDATA #          'idx' => 'ev/3',
*% COMDATA #          'value' => 'A4',
*% COMDATA #          'driverval' => '595 842'
*% COMDATA #        },
*% COMDATA #        'Legal' => {
*% COMDATA #          'comment' => 'US Legal',
*% COMDATA #          'idx' => 'ev/2',
*% COMDATA #          'value' => 'Legal',
*% COMDATA #          'driverval' => '612 1008'
*% COMDATA #        },
*% COMDATA #        'A5' => {
*% COMDATA #          'comment' => 'A5',
*% COMDATA #          'idx' => 'ev/896',
*% COMDATA #          'value' => 'A5',
*% COMDATA #          'driverval' => '421 595'
*% COMDATA #        },
*% COMDATA #        'B5' => {
*% COMDATA #          'comment' => 'B5 (JIS)',
*% COMDATA #          'idx' => 'ev/897',
*% COMDATA #          'value' => 'B5',
*% COMDATA #          'driverval' => '516 729'
*% COMDATA #        },
*% COMDATA #        'EnvDL' => {
*% COMDATA #          'comment' => 'Envelope DL',
*% COMDATA #          'idx' => 'ev/901',
*% COMDATA #          'value' => 'EnvDL',
*% COMDATA #          'driverval' => '312 624'
*% COMDATA #        },
*% COMDATA #        'Env10' => {
*% COMDATA #          'comment' => 'Envelope #10',
*% COMDATA #          'idx' => 'ev/899',
*% COMDATA #          'value' => 'Env10',
*% COMDATA #          'driverval' => '297 684'
*% COMDATA #        },
*% COMDATA #        'EnvISOB5' => {
*% COMDATA #          'comment' => 'Envelope B5',
*% COMDATA #          'idx' => 'ev/898',
*% COMDATA #          'value' => 'EnvISOB5',
*% COMDATA #          'driverval' => '499 709'
*% COMDATA #        }
*% COMDATA #      },
*% COMDATA #      'style' => 'G',
*% COMDATA #      'name' => 'PageSize',
*% COMDATA #      'type' => 'enum',
*% COMDATA #      'comment' => 'Page Size',
*% COMDATA #      'proto' => '<</PageSize[%s]/ImagingBBox null>>setpagedevice',
*% COMDATA #      'order' => 100,
*% COMDATA #      'default' => 'Letter',
*% COMDATA #      'idx' => 'opt/2',
*% COMDATA #      'vals' => [
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {}
*% COMDATA #      ],
*% COMDATA #      'spot' => 'Z'
*% COMDATA #    },
*% COMDATA #    'Mode' => {
*% COMDATA #      'vals_byname' => {
*% COMDATA #        '600TransparencyNormal' => {
*% COMDATA #          'comment' => '600x600dpi, transparencies, normal quality',
*% COMDATA #          'idx' => 'ev/bj8pa06n-600TransparencyNormal',
*% COMDATA #          'value' => '600TransparencyNormal',
*% COMDATA #          'driverval' => 'oh06n'
*% COMDATA #        },
*% COMDATA #        '600PlainNormal' => {
*% COMDATA #          'comment' => '600x600dpi, plain paper, normal quality',
*% COMDATA #          'idx' => 'ev/bj8pa06n-600PlainNormal',
*% COMDATA #          'value' => '600PlainNormal',
*% COMDATA #          'driverval' => 'pa06n'
*% COMDATA #        },
*% COMDATA #        '600IronOnNormal' => {
*% COMDATA #          'comment' => '600x600dpi, iron-on transfer sheets, normal quality',
*% COMDATA #          'idx' => 'ev/bj8pa06n-600IronOnNormal',
*% COMDATA #          'value' => '600IronOnNormal',
*% COMDATA #          'driverval' => 'ts06n'
*% COMDATA #        }
*% COMDATA #      },
*% COMDATA #      'required' => 1,
*% COMDATA #      'style' => 'C',
*% COMDATA #      'name' => 'Mode',
*% COMDATA #      'type' => 'enum',
*% COMDATA #      'comment' => 'Printing Mode',
*% COMDATA #      'proto' => '@bj8%s.upp',
*% COMDATA #      'order' => 100,
*% COMDATA #      'default' => '600PlainNormal',
*% COMDATA #      'idx' => 'opt/bj8pa06n-Mode',
*% COMDATA #      'vals' => [
*% COMDATA #        {},
*% COMDATA #        {},
*% COMDATA #        {}
*% COMDATA #      ],
*% COMDATA #      'spot' => 'B'
*% COMDATA #    }
*% COMDATA #  },
*% COMDATA #  'ascii' => 1,
*% COMDATA #  'pnp_mdl' => undef,
*% COMDATA #  'driver' => 'bj8pa06n.upp',
*% COMDATA #  'compiled-at' => 'Fri Jun  7 02:49:06 2002',
*% COMDATA #  'snmp_cmd' => undef,
*% COMDATA #  'model' => 'S630',
*% COMDATA #  'url' => 'http://www.ghostscript.com/doc/gnu/7.05/Devices.htm#BJC_8200',
*% COMDATA #  'cmd' => 'gs %B -q -dBATCH -dSAFER -dQUIET -dNOPAUSE %A%Z -sOutputFile=- -',
*% COMDATA #  'snmp_des' => undef,
*% COMDATA #  'par_mfg' => undef,
*% COMDATA #  'make' => 'Canon',
*% COMDATA #  'par_mdl' => undef,
*% COMDATA #  'color' => 1,
*% COMDATA #  'pnp_cmd' => undef,
*% COMDATA #  'usb_mfg' => undef,
*% COMDATA #  'usb_mdl' => undef,
*% COMDATA #  'pnp_des' => undef,
*% COMDATA #  'maxspot' => 'Z',
*% COMDATA #  'args' => [
*% COMDATA #    {},
*% COMDATA #    {}
*% COMDATA #  ],
*% COMDATA #  'id' => 'Canon-S630',
*% COMDATA #  'comment' => '
*% COMDATA #    This is a set of UPP files for the Canon BJC-8200 which comes with
*% COMDATA #    GhostScript 6.50 or newer. It supports several modes up to the
*% COMDATA #    highest resolution on photo papers. GIMP-Print also supports this
*% COMDATA #    model, but it is not known which driver gives the better results.
*% COMDATA #    <P>
*% COMDATA #
*% COMDATA #    The documentation to this driver (see driver\'s web page) tells
*% COMDATA #    that with this driver the maximum printout quality is reached, even
*% COMDATA #    it supports only 4-ink printing, but the Windows driver also uses
*% COMDATA #    only four inks in its highest quality modes.<P>
*% COMDATA #
*% COMDATA #    The printing system/execution information for this driver serves
*% COMDATA #    also for the other bj8*.upp drivers.
*% COMDATA #  ',
*% COMDATA #  'timestamp' => '1023432546',
*% COMDATA #  'compiled-by' => 'www-data@poblano',
*% COMDATA #  'par_cmd' => undef,
*% COMDATA #  'snmp_mfg' => undef,
*% COMDATA #  'snmp_mdl' => undef,
*% COMDATA #  'usb_cmd' => undef,
*% COMDATA #  'par_des' => undef
*% COMDATA #};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[0] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Letter'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[1] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A4'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[2] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'11x17'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[3] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A3'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[4] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A5'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[5] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'B5'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[6] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Env10'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[7] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'EnvC5'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[8] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'EnvDL'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[9] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'EnvISOB5'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[10] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'EnvMonarch'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[11] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Executive'};
*% COMDATA #$VAR1->{'args_byname'}{'PageSize'}{'vals'}[12] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Legal'};
*% COMDATA #$VAR1->{'args_byname'}{'Mode'}{'vals'}[0] = $VAR1->{'args_byname'}{'Mode'}{'vals_byname'}{'600IronOnNormal'};
*% COMDATA #$VAR1->{'args_byname'}{'Mode'}{'vals'}[1] = $VAR1->{'args_byname'}{'Mode'}{'vals_byname'}{'600PlainNormal'};
*% COMDATA #$VAR1->{'args_byname'}{'Mode'}{'vals'}[2] = $VAR1->{'args_byname'}{'Mode'}{'vals_byname'}{'600TransparencyNormal'};
*% COMDATA #$VAR1->{'args'}[0] = $VAR1->{'args_byname'}{'PageSize'};
*% COMDATA #$VAR1->{'args'}[1] = $VAR1->{'args_byname'}{'Mode'};



Just copy this to a text file and name it canon-s630-bj8pa06n.upp-ppd.ppd

Fallow chip_s_ahoy's instructions and you have a working printer. Of course you have to have enable usb in the kernel and remember that usb-uhci has to be done as a module. Damn I'm happy. Thanks man.
Back to top
View user's profile Send private message
Technetium
n00b
n00b


Joined: 30 Jul 2002
Posts: 16
Location: Vancouver, BC, Canada

PostPosted: Tue Jul 30, 2002 8:35 pm    Post subject: Reply with quote

Great. This thread worked for my HP 695c. Chip_s_ thanks for posting your solution.
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Aug 10, 2002 1:34 am    Post subject: Reply with quote

Ah! Excellent--this is exactly the thread that I had in mind when as I'm looking for help to set up my printer in linux (since this is the first time that I've done it). Thanks ;)
Back to top
chip_s_ahoy
n00b
n00b


Joined: 19 Apr 2002
Posts: 13

PostPosted: Sun Sep 15, 2002 7:28 am    Post subject: After updating CUPS... Reply with quote

After an emerge updated CUPS, I had a printing problem again.

No problem, thought I, I'll just go to the Gentoo Forum, follow the steps recorded back when, and be in business.

Did that, I still couldn't print.

I had the right driver for my winprinter, had CUPS configured through the web interface, etc, so this was a different problem.

So I did this:

Opened /etc/cups/cupsd.conf in vi
and changed: "LogLevel info" to "LogLevel debug". Saved that, opened a text file and printed. Nothing happened.

OK, now I'll have an error log to read, so: "less /var/log/cups/error_log", scroll to the bottom and look around. Ahh! Here is a complaint:
"libgimpprint.so.1: cannot open shared object file: No such file or directory".

So I look in /usr/lib and find "libgimpprint.so", but no "libgimpprint.so.1". Let's try creating a link:
"ln -s libgimpprint.so libgimpprint.so.1"

And that works.

Chip
Back to top
View user's profile Send private message
rapskat
n00b
n00b


Joined: 18 Aug 2002
Posts: 11

PostPosted: Mon Sep 16, 2002 8:28 pm    Post subject: Printing issues Reply with quote

First, I've got to thank chips for supplying that excellent resource on printing. I was beating my head against a wall trying to get this thing to work...I was almost to the point that I was going ot go back to Redhat! (yes, I was that desperate)

Anyway, followed your suggestions, and auto-generated a ppd file and replaced the one i already had that wasn't working.

Ok, now when printing a test page from the CUPS webadmin interface, my printer (HPDJ870Cse) initializes, then the amber light starts blinking. When I hit that, it spits out a page with one line of text on it:

Unknown device: stp

I tried doing a search for this error, but nothing I found seemed related. Anyone have a clue for me here?

Thanks!
_________________
--
...if I only had a clue.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Mon Sep 16, 2002 8:33 pm    Post subject: Re: Printing issues Reply with quote

rapskat wrote:
Ok, now when printing a test page from the CUPS webadmin interface, my printer (HPDJ870Cse) initializes, then the amber light starts blinking. When I hit that, it spits out a page with one line of text on it:

Unknown device: stp
Was printing working and then quit, or is this as far as you've gotten?
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
rapskat
n00b
n00b


Joined: 18 Aug 2002
Posts: 11

PostPosted: Mon Sep 16, 2002 8:48 pm    Post subject: Re: Printing issues Reply with quote

kanuslupus wrote:
rapskat wrote:
Ok, now when printing a test page from the CUPS webadmin interface, my printer (HPDJ870Cse) initializes, then the amber light starts blinking. When I hit that, it spits out a page with one line of text on it:

Unknown device: stp
Was printing working and then quit, or is this as far as you've gotten?


I haven't gotten any response at all from the printer before this, so I am actually kind of happy I got something at least! :?

It seems that the relevant line in the .ppd conf file is as follows:

Code:
*% COMDATA #  'cmd' => 'gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=stp %A%Z -sOutputFile=- -',


I checked, and I have no device named /dev/stp on this system. Could that be part of the problem? Perhaps I should be going specifically through Ghostscript? IDK...
_________________
--
...if I only had a clue.
Back to top
View user's profile Send private message
rapskat
n00b
n00b


Joined: 18 Aug 2002
Posts: 11

PostPosted: Tue Sep 17, 2002 12:33 am    Post subject: Re: Printing issues Reply with quote

rapskat wrote:
It seems that the relevant line in the .ppd conf file is as follows:

Code:
*% COMDATA #  'cmd' => 'gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=stp %A%Z -sOutputFile=- -',


Ok, newb here, pls forgive those last stupid comments...

Anyway, I did some research and I've narrowed it down to the actual command line that is being passed ot the printer.

I've installed both of the hpijs and gimp-print-ijs print drivers and updated the .ppd file to reflect the changes.

So now when printing a test page I'm getting:

Unable to open the initial device, quitting.

I'm going to tweak around with the command line options some more and see if I can't get this puppy working tonight.
_________________
--
...if I only had a clue.
Back to top
View user's profile Send private message
rapskat
n00b
n00b


Joined: 18 Aug 2002
Posts: 11

PostPosted: Wed Sep 18, 2002 2:48 pm    Post subject: Re: Printing issues Reply with quote

rapskat wrote:
rapskat wrote:
It seems that the relevant line in the .ppd conf file is as follows:

Code:
*% COMDATA #  'cmd' => 'gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=stp %A%Z -sOutputFile=- -',


Ok, newb here, pls forgive those last stupid comments...

Anyway, I did some research and I've narrowed it down to the actual command line that is being passed ot the printer.

I've installed both of the hpijs and gimp-print-ijs print drivers and updated the .ppd file to reflect the changes.

So now when printing a test page I'm getting:

Unable to open the initial device, quitting.

I'm going to tweak around with the command line options some more and see if I can't get this puppy working tonight.


Just an update to all, I did finally get this puppy working. It was simply a matter of using the correct ppd file for the type of print system I had. I used hpijs and the Foomatic site to automagically generate a hpijs ppd for my printer. Set that up in CUPS and that's all she wrote. :lol:
_________________
--
...if I only had a clue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum