Re: Can't print: /var/spool/lpd
On Sat 19 Dec 2020 at 07:05:24 -0300, riveravaldez wrote: > On 12/12/20, Brian wrote: > > On Fri 11 Dec 2020 at 21:33:42 -0300, riveravaldez wrote: > > > >> Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian > >> Testing. > > > > You do not say, so we will assume there is a USB connection. The device > > probably does IPP-over-USB; you will want to read > > > > https://wiki.debian.org/CUPSDriverlessPrinting > > Thanks for your answer, Brian, certainly I'd forget to specify it: > The connection is not USB, it's a network connection (Ethernet), the printer > is connected to the router and through the router I have access to it from > various computers in the house. Ok. That rules out one avenue of exploration. > In the 'Add Printer' page/step, CUPS offers me three options: > 1. Brother HL-3150CDN series - IPP Everywhere > 2. Brother HL-3150CDN seriesm fully driverless, cups-filters 1.28.6 (en) > 3. Brother HL-3150CDN series CUPS (en) > The first and second work fine. Good. This illustrates that a user with a modern Brother printer does not need a non-free Brother driver. > The third one appears twice, and seems to be > generated by the installation of the official drivers from Brother (I tried > both > options with similar result: the printer doesn't seems to receive the > job/printing order). The entries in the "Add Printer" display will have nothing to do with whether the Brother drivers are installed. They will be to do with the URIs discovered and given on the second page of the CUPS web interface. The job not getting to the printer is probably a URI issue. Please give the output of 'lpinfo -v'. > http://localhost:631/jobs/ once said: > > processing since > Sat Dec 19 06:47:26 2020 > "No se ha podido localizar la impresora "BRN30055CA838C7"." > > Which means: "Couldn't find the printer "BR..." A URI or network issue. > But almost always just show the job as "completed". The job is regarded as completed if the filters complete successfully. Looks like they have. [...] > > The installation of this package goes smoothly on my i386 machine. > > Well, here I have those errors. I've tried creating manually the folder: > /var/spool/lpd/hl3150cdn > Which I had to do as root. > Once the folder is created, I reinstalled the packages, and the errors didn't > appeared no more: Jobs will be correctly processed whether or not /var/spool/lpd/hl3150cdn exists. All you have to do is 'mkdir /var/spool/lpd/' because it is this directory the lpr package is looking for. But it is not needed anyway. Brother is at least twenty years behind the times with the packages it distributes. I ask you - lpd in ths day and age? > $ sudo apt-get install --reinstall ./hl3150cdnlpr-1.1.2-1.i386.deb > Reading package lists... Done > Building dependency tree > Reading state information... Done > Note, selecting 'hl3150cdnlpr:i386' instead of > './hl3150cdnlpr-1.1.2-1.i386.deb' > 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded. > After this operation, 0 B of additional disk space will be used. > Get:1 /(...)/hl3150cdnlpr-1.1.2-1.i386.deb hl3150cdnlpr i386 1.1.2-1 [695 kB] > (Reading database ... 152529 files and directories currently installed.) > Preparing to unpack .../hl3150cdnlpr-1.1.2-1.i386.deb ... > Unpacking hl3150cdnlpr:i386 (1.1.2-1) over (1.1.2-1) ... > Setting up hl3150cdnlpr:i386 (1.1.2-1) ... > > So, no errors. But: > > $ sudo ls -a /var/spool/lpd/hl3150cdn/ > . .. > > So, maybe the installation can't put anything there because the folder > was created > by root? No. It's a bit of Brother nonsense to want /var/spool/lpd/ created. [...] > But no matter the jobs appearing as "completed", the printer doesn't > activates and it doesn't print, so, any idea? Let's also have what you get for 'lpstat -t' and 'lpstat -l -e'. -- Brian.
Re: Can't print: /var/spool/lpd
On 12/14/20, Greg Wooledge wrote: > > For future requests, you can get English messages by overriding the LANG > (or LC_ALL) variable. > > LC_ALL=C apt-get whatever > > or, if you're in a csh/tcsh shell, or if you're using sudo: > > env LC_ALL=C apt-get whatever Thanks A LOT, Greg! Didn't knew that could be done. Very (very) useful! I'm already using it. Kind regards!
Re: Can't print: /var/spool/lpd
On 12/12/20, Brian wrote: > On Fri 11 Dec 2020 at 21:33:42 -0300, riveravaldez wrote: > >> Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian >> Testing. > > You do not say, so we will assume there is a USB connection. The device > probably does IPP-over-USB; you will want to read > > https://wiki.debian.org/CUPSDriverlessPrinting Thanks for your answer, Brian, certainly I'd forget to specify it: The connection is not USB, it's a network connection (Ethernet), the printer is connected to the router and through the router I have access to it from various computers in the house. In the 'Add Printer' page/step, CUPS offers me three options: 1. Brother HL-3150CDN series - IPP Everywhere 2. Brother HL-3150CDN seriesm fully driverless, cups-filters 1.28.6 (en) 3. Brother HL-3150CDN series CUPS (en) The first and second work fine. The third one appears twice, and seems to be generated by the installation of the official drivers from Brother (I tried both options with similar result: the printer doesn't seems to receive the job/printing order). http://localhost:631/jobs/ once said: processing since Sat Dec 19 06:47:26 2020 "No se ha podido localizar la impresora "BRN30055CA838C7"." Which means: "Couldn't find the printer "BR..." But almost always just show the job as "completed". >> The printer functions with the drivers CUPS offers by default, but the >> official Brother's drivers has some options that I need to work with >> the equipment. > > An interesting comment. Debian will have set uo a print queue for the > printer. Please give the output of > > lpoptions -p PRINT_Q_NAME -l $ lpoptions -p Brother_HL-3150CDN_series -l PageSize/Media Size: *A4 Letter Legal Executive A5 A6 B5 JISB5 JISB6 EnvDL EnvC5 Env10 EnvMonarch Br3x5 FanFoldGermanLegal EnvPRC5Rotated Postcard EnvYou4 EnvChou3 210x270mm 195x270mm 184x260mm 197x273mm Duplex/Two-Sided: DuplexTumble DuplexNoTumble *None BRInputSlot/Paper Source: *AutoSelect Tray1 Manual BRResolution/Print Quality: *600dpi 600x2400dpi BRMonoColor/Color / Mono: *Auto FullColor Mono BRMediaType/Media Type: *Plain Thin Thick Thicker BOND Env EnvThick EnvThin Recycled Label Glossy PostCard BRColorMatching/Color Mode: *Normal Vivid None BRGray/Improve Gray Color: *OFF ON BREnhanceBlkPrt/Enhance Black Printing: *OFF ON BRTonerSaveMode/Toner Save Mode: OFF *ON BRImproveOutput/Improve Print Output: *OFF BRLessPaperCurl BRFixIntensity BRSkipBlank/Skip Blank Page: *OFF ON BRBrightness/Brightness: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BRContrast/Contrast: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BRRed/Red: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BRGreen/Green: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BRBlue/Blue: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 BRSaturation/Saturation: -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 *0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 >> I was able to install these drivers some time ago, but now they didn't >> seem to work. >> >> The two file to install are: >> hl3150cdnlpr-1.1.2-1.i386.deb >> hl3150cdncupswrapper-1.1.4-0.i386.deb >> >> Both for 32-bits, so, I did the: >> $ sudo dpkg --add-architecture i386 >> $ sudo apt-get update >> >> And then used apt-get to install them. >> The packages get installed but didn't seem to send the data to the >> printer at printing time. >> Any idea how to diagnose this? >> >> The only error I'd saw until now is when I install the lpr package: >> >> $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb >> (...) >> mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No >> existe el fichero o el directorio >> chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el >> fichero o el directorio >> chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el >> fichero o el directorio >> chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el >> fichero o el directorio > > The installation of this package goes smoothly on my i386 machine. Well, here I have those errors. I've tried creating manually the folder: /var/spool/lpd/hl3150cdn Which I had to do as root. Once the folder is created, I reinstalled the packages, and the errors didn't appeared no more: $ sudo apt-get install --reinstall ./hl3150cdnlpr-1.1.2-1.i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'hl3150cdnlpr:i386' instead of './hl3150cdnlpr-1.1.2-1.i386.deb' 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded. After this operation, 0 B
Re: Can't print: /var/spool/lpd
On Sat, Dec 12, 2020 at 01:14:35AM -0300, riveravaldez wrote: > > chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > > fichero o el directorio > > Sorry, I should've translated the error messages: > > mkdir: can't create folder «...»: Folder or file doesn't exist > > And the others: > "no se puede acceder a" = "can't access to" > "No existe el fichero o el directorio" = "File or folder doesn't exist" For future requests, you can get English messages by overriding the LANG (or LC_ALL) variable. LC_ALL=C apt-get whatever or, if you're in a csh/tcsh shell, or if you're using sudo: env LC_ALL=C apt-get whatever This is better than translating yourself, because the exact wording of the "C" locale messages is extremely well known, and will convey information to those reading your mail. In particular, there is a big difference between the messages "Permission denied" (errno 13) and "Operation not permitted" (errno 1).
Re: Can't print: /var/spool/lpd
On Fri 11 Dec 2020 at 21:33:42 -0300, riveravaldez wrote: > Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian Testing. You do not say, so we will assume there is a USB connection. The device probably does IPP-over-USB; you will want to read https://wiki.debian.org/CUPSDriverlessPrinting > The printer functions with the drivers CUPS offers by default, but the > official Brother's drivers has some options that I need to work with > the equipment. An interesting comment. Debian will have set uo a print queue for the printer. Please give the output of lpoptions -p PRINT_Q_NAME -l > I was able to install these drivers some time ago, but now they didn't > seem to work. > > The two file to install are: > hl3150cdnlpr-1.1.2-1.i386.deb > hl3150cdncupswrapper-1.1.4-0.i386.deb > > Both for 32-bits, so, I did the: > $ sudo dpkg --add-architecture i386 > $ sudo apt-get update > > And then used apt-get to install them. > The packages get installed but didn't seem to send the data to the > printer at printing time. > Any idea how to diagnose this? > > The only error I'd saw until now is when I install the lpr package: > > $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb > (...) > mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No > existe el fichero o el directorio > chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio > chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio > chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio The installation of this package goes smoothly on my i386 machine. -- Brian.
Re: Can't print: /var/spool/lpd
On 12/11/20, riveravaldez wrote: > (...) > I was able to install these drivers some time ago, but now they didn't > seem to work. > (...) > The packages get installed but didn't seem to send the data to the > printer at printing time. > Any idea how to diagnose this? > > The only error I'd saw until now is when I install the lpr package: > > $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb > (...) > mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No > existe el fichero o el directorio > chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio > chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio > chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el > fichero o el directorio Sorry, I should've translated the error messages: mkdir: can't create folder «...»: Folder or file doesn't exist And the others: "no se puede acceder a" = "can't access to" "No existe el fichero o el directorio" = "File or folder doesn't exist" Also, the subject should be something more like "driver installation errors", I guess. Thanks a lot.
Re: Can't print to CUPS printer on my server
On 2020-12-09 12:31, Brian wrote: On Wed 09 Dec 2020 at 11:29:28 -0500, Gary Dale wrote: On 2020-12-09 10:25, Brian wrote: On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote: On 2020-12-08 13:29, Brian wrote: avahi-browse -art > log1 -bash: avahi-browse: command not found - for both regular user and root on the server and post log here as an attachment. avahi-browse is in the avahi-utils package. How about installing avahi-utils? :) I don't seem to need it for anything else. I'm leery of installing packages, especially on a server, that I don't use. I bet you have cups-browsed installed on the server. It's completely unneeded and doesn't do anything to enhance the printing system there. But that is BTW. :) Perhaps I shouldn't trust package maintainers to not install unnecessary stuff? However, doesn't it actually discover network printers - they seem to be more common these days with both Wifi and versions. Not all my printers are plugged directly into the server. = enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Secure Internet Printer local hostname = [TheLibrarian.local] address = [fe80::feaa:14ff:fe9b:b835] port = [631] txt = ["printer-type=0x80901E" "printer-state=3" "Duplex=T" "Color=T" "TLS=1.2" "UUID=bd713eeb-c38d-39f4-40b6-a997738b33d1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Color LaserJet CP1215)" "priority=0" "note=family room" "adminurl=https://TheLibrarian.local.:631/printers/CP1215; "ty=HP Color LaserJet CP1215 Foomatic/foo2hp (recommended)" "rp=printers/CP1215" "qtotal=1" "txtvers=1"] The printer is found at TheLibrarian.local and its resource path is printers/CP1215, giving a URI of ipp://TheLibrarian.local:631/printers/CP1215 At present you are relying on cups-browsed on the client to discover, auto-setup and manage the CP1215; it appears to be having an off day. Let's manage the print queue ourselves. Execute lpadmin -p -v -E -m raw The -p option can be anything you want, for example, cp1215. cups-browsed seems to be having a bad week or two at least. It doesn't let me delete the erroneous path to the CP125 in addition to not detecting the correct path. I ran the lpadmin command and CP1215 is now showing in my list of printers on my workstation. However it still isn't printing. After a second, I remembered that is because I had to unplug the printer to set up a temporary powerline networking connection to my server yesterday (I'm finally getting around to replacing the last of my CAT-5 cable with CAT-6 and having an issue with pulling a line to this particular room). This had nothing to do with my earlier issue however. Anyway, hopefully a new CUPS update will get things working soon. Thanks.
Can't print: /var/spool/lpd
Hi, I'm having an issue with a Brother HL-3150CDN printer on Debian Testing. The printer functions with the drivers CUPS offers by default, but the official Brother's drivers has some options that I need to work with the equipment. I was able to install these drivers some time ago, but now they didn't seem to work. The two file to install are: hl3150cdnlpr-1.1.2-1.i386.deb hl3150cdncupswrapper-1.1.4-0.i386.deb Both for 32-bits, so, I did the: $ sudo dpkg --add-architecture i386 $ sudo apt-get update And then used apt-get to install them. The packages get installed but didn't seem to send the data to the printer at printing time. Any idea how to diagnose this? The only error I'd saw until now is when I install the lpr package: $ sudo apt-get install ./hl3150cdnlpr-1.1.2-1.i386.deb (...) mkdir: no se puede crear el directorio «/var/spool/lpd/hl3150cdn»: No existe el fichero o el directorio chown: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el fichero o el directorio chgrp: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el fichero o el directorio chmod: no se puede acceder a '/var/spool/lpd/hl3150cdn': No existe el fichero o el directorio Any hint what could/should I do? Thanks a lot in advance!
Re: Can't print to CUPS printer on my server
On Wed 09 Dec 2020 at 17:31:46 +, Brian wrote: > The printer is found at TheLibrarian.local and its resource path is > printers/CP1215, giving a URI of > > ipp://TheLibrarian.local:631/printers/CP1215 > > At present you are relying on cups-browsed on the client to discover, > auto-setup and manage the CP1215; it appears to be having an off day. > Let's manage the print queue ourselves. Execute > > lpadmin -p -v -E -m raw > > The -p option can be anything you want, for example, cp1215 This technique has never beem known to fail. We are pleased it works for you too. :) Happy printing. -- Brian..
Re: Can't print to CUPS printer on my server
On 2020-12-09 10:25, Brian wrote: On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote: On 2020-12-08 13:29, Brian wrote: avahi-browse -art > log1 -bash: avahi-browse: command not found - for both regular user and root on the server and post log here as an attachment. avahi-browse is in the avahi-utils package. How about installing avahi-utils? :) I don't seem to need it for anything else. I'm leery of installing packages, especially on a server, that I don't use. +br0 IPv6 THELIBRARIAN Microsoft Windows Network local +br0 IPv4 THELIBRARIAN Microsoft Windows Network local +br0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Internet Printer local +br0 IPv6 Samsung C410 Series @ TheLibrarianInternet Printer local +br0 IPv6 PDF @ TheLibrarianInternet Printer local +br0 IPv6 Samsung ML-1210 @ TheLibrarianInternet Printer local +br0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianInternet Printer local +br0 IPv4 HP Color LaserJet CP1215 @ TheLibrarian Internet Printer local +br0 IPv4 Samsung C410 Series @ TheLibrarianInternet Printer local +br0 IPv4 PDF @ TheLibrarianInternet Printer local +br0 IPv4 Samsung ML-1210 @ TheLibrarianInternet Printer local +br0 IPv4 EPSON Stylus Photo R300 @ TheLibrarianInternet Printer local + enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Internet Printer local + enp5s0 IPv6 Samsung C410 Series @ TheLibrarianInternet Printer local + enp5s0 IPv6 PDF @ TheLibrarianInternet Printer local + enp5s0 IPv6 Samsung ML-1210 @ TheLibrarianInternet Printer local + enp5s0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianInternet Printer local +br0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Secure Internet Printer local +br0 IPv6 Samsung C410 Series @ TheLibrarianSecure Internet Printer local +br0 IPv6 PDF @ TheLibrarianSecure Internet Printer local +br0 IPv6 Samsung ML-1210 @ TheLibrarianSecure Internet Printer local +br0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianSecure Internet Printer local +br0 IPv4 HP Color LaserJet CP1215 @ TheLibrarian Secure Internet Printer local +br0 IPv4 Samsung C410 Series @ TheLibrarianSecure Internet Printer local +br0 IPv4 PDF @ TheLibrarianSecure Internet Printer local +br0 IPv4 Samsung ML-1210 @ TheLibrarianSecure Internet Printer local +br0 IPv4 EPSON Stylus Photo R300 @ TheLibrarianSecure Internet Printer local + enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Secure Internet Printer local + enp5s0 IPv6 Samsung C410 Series @ TheLibrarianSecure Internet Printer local + enp5s0 IPv6 PDF @ TheLibrarianSecure Internet Printer local + enp5s0 IPv6 Samsung ML-1210 @ TheLibrarianSecure Internet Printer local + enp5s0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianSecure Internet Printer local +br0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianUNIX Printer local +br0 IPv6 Samsung ML-1210 @ TheLibrarianUNIX Printer local +br0 IPv6 PDF @ TheLibrarianUNIX Printer local +br0 IPv6 Samsung C410 Series @ TheLibrarianUNIX Printer local +br0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian UNIX Printer local +br0 IPv4 EPSON Stylus Photo R300 @ TheLibrarianUNIX Printer local +br0 IPv4 Samsung ML-1210 @ TheLibrarianUNIX Printer local +br0 IPv4 PDF @ TheLibrarianUNIX Printer local +br0 IPv4 Samsung C410 Series @ TheLibrarianUNIX Printer local +br0 IPv4 HP Color LaserJet CP1215 @ TheLibrarian UNIX Printer local + enp5s0 IPv6 EPSON Stylus Photo R300 @ TheLibrarianUNIX Printer local + enp5s0 IPv6 Samsung ML-1210 @ TheLibrarianUNIX Printer local + enp5s0 IPv6 PDF @ TheLibrarianUNIX Printer local + enp5s0 IPv6 Samsung C410 Series @ TheLibrarianUNIX Printer local + enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian UNIX Printer local +br0 IPv4 RT-ACRH13-54A4 [88:d7:f6:a7:54:a4]Workstation local =br0 IPv4 RT-ACRH13-54A4 [88:d7:f6:a7:54:a4]Workstation local hostname = [RT-ACRH13-54A4.local] address = [192.168.1.1] port = [9] txt = [] +br0 IPv6 THELIBRARIAN
Re: Can't print to CUPS printer on my server
On 2020-12-08 13:29, Brian wrote: On Tue 08 Dec 2020 at 12:27:18 -0500, Gary Dale wrote: I'm running Debian/Bullseye on my workstation and Debian/Buster on my server. I have an old HP CP-1215 color laserjet attached to the server by a USB cable. I can print a CUPS test page from the server but not from my The server is not the problem if printing from it is successful. Please do avahi-browse -art > log1 -bash: avahi-browse: command not found - for both regular user and root on the server and post log here as an attachment. avahi-browse is in the avahi-utils package. Also give 'lpstat -t'. device for CP1215: hp:/usb/HP_Color_LaserJet_CP1215?serial=LJ090T7 device for EPSON_Stylus_Photo_R300: usb://EPSON/Stylus%20Photo%20R300 device for ML-1210: usb://Samsung/ML-1210 device for PDF: cups-pdf:/ device for Samsung_C410_Series: usb://Samsung/C410%20Series?serial=ZEVQB8GF3A00HFJ CP1215 accepting requests since Tue 08 Dec 2020 10:46:27 AM EST EPSON_Stylus_Photo_R300 accepting requests since Tue 28 Apr 2015 05:49:05 PM EDT ML-1210 accepting requests since Thu 12 Jul 2012 03:12:20 PM EDT PDF accepting requests since Mon 16 May 2016 05:35:30 PM EDT Samsung_C410_Series accepting requests since Thu 20 Aug 2020 04:44:57 PM EDT printer CP1215 is idle. enabled since Tue 08 Dec 2020 10:46:27 AM EST printer EPSON_Stylus_Photo_R300 is idle. enabled since Tue 28 Apr 2015 05:49:05 PM EDT printer ML-1210 is idle. enabled since Thu 12 Jul 2012 03:12:20 PM EDT printer PDF is idle. enabled since Mon 16 May 2016 05:35:30 PM EDT printer Samsung_C410_Series is idle. enabled since Thu 20 Aug 2020 04:44:57 PM EDT workstation. When I try to print anything from my workstation to that printer, I get /"No suitable destination host found by cups-browsed."/ This is a cups-browsed issue. Give 'lpstat -t' on the client. scheduler is running no system default destination members of class ColourLaser: unknown device for ColourLaser: ///dev/null device for EPSON_Stylus_Photo_R300_TheLibrarian: implicitclass://EPSON_Stylus_Photo_R300_TheLibrarian/ device for EPSON_XP-820_Series: usb://EPSON/XP-820%20Series?serial=554638593032343867=1 device for HP_Color_LaserJet_CP1215_TheLibrarian: implicitclass://HP_Color_LaserJet_CP1215_TheLibrarian/ device for PDF_TheLibrarian: implicitclass://PDF_TheLibrarian/ device for Samsung_C410_Series: dnssd://Samsung%20C410%20Series%20(SEC30CDA71CB48A)._printer._tcp.local/ device for Samsung_C410_Series_SEC30CDA71CB48A_: ///dev/null device for Samsung_C410_Series_TheLibrarian: implicitclass://Samsung_C410_Series_TheLibrarian/ device for Samsung_ML_1210_TheLibrarian: implicitclass://Samsung_ML_1210_TheLibrarian/ ColourLaser accepting requests since Fri Dec 11 23:27:13 2015 EPSON_Stylus_Photo_R300_TheLibrarian accepting requests since Wed Dec 9 00:00:30 2020 EPSON_XP-820_Series accepting requests since Tue Dec 8 11:50:18 2020 HP_Color_LaserJet_CP1215_TheLibrarian accepting requests since Wed Dec 9 00:00:28 2020 PDF_TheLibrarian accepting requests since Wed Dec 9 00:00:29 2020 Samsung_C410_Series accepting requests since Fri Sep 11 17:44:23 2020 Samsung_C410_Series_SEC30CDA71CB48A_ not accepting requests since Fri Aug 21 00:00:10 2020 - reason unknown Samsung_C410_Series_TheLibrarian accepting requests since Wed Dec 9 00:00:28 2020 Samsung_ML_1210_TheLibrarian accepting requests since Wed Dec 9 00:00:29 2020 printer ColourLaser is idle. enabled since Fri Dec 11 23:27:13 2015 printer EPSON_Stylus_Photo_R300_TheLibrarian is idle. enabled since Wed Dec 9 00:00:30 2020 printer EPSON_XP-820_Series is idle. enabled since Tue Dec 8 11:50:18 2020 printer HP_Color_LaserJet_CP1215_TheLibrarian is idle. enabled since Wed Dec 9 00:00:28 2020 printer PDF_TheLibrarian is idle. enabled since Wed Dec 9 00:00:29 2020 printer Samsung_C410_Series is idle. enabled since Fri Sep 11 17:44:23 2020 printer Samsung_C410_Series_SEC30CDA71CB48A_ disabled since Fri Aug 21 00:00:10 2020 - reason unknown printer Samsung_C410_Series_TheLibrarian is idle. enabled since Wed Dec 9 00:00:28 2020 printer Samsung_ML_1210_TheLibrarian is idle. enabled since Wed Dec 9 00:00:29 2020 I've deleted and re-added the printer on the server and rebooted my workstation but I still get the same problem. The printer is using the foomatic drivers. CUPS reports that it is 2.3.3op1 on my workstation and 2.2.10 on my server. // Executing avahi-browse -art > log2 on the client and sending log2 here could be useful. -bash: avahi-browse: command not found - for both regular user and root.
Re: Can't print to CUPS printer on my server
On 2020-12-08 16:19, Joe Pfeiffer wrote: Gary Dale writes: I'm running Debian/Bullseye on my workstation and Debian/Buster on my server. I have an old HP CP-1215 color laserjet attached to the server by a USB cable. I can print a CUPS test page from the server but not from my workstation. When I try to print anything from my workstation to that printer, I get "No suitable destination host found by cups-browsed." I've deleted and re-added the printer on the server and rebooted my workstation but I still get the same problem. The printer is using the foomatic drivers. CUPS reports that it is 2.3.3op1 on my workstation and 2.2.10 on my server. Did you set the printer to be shared? Yes
Re: Can't print to CUPS printer on my server
On Wed 09 Dec 2020 at 11:29:28 -0500, Gary Dale wrote: > On 2020-12-09 10:25, Brian wrote: > > On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote: > > > > > On 2020-12-08 13:29, Brian wrote: > > > > avahi-browse -art > log1 > > > -bash: avahi-browse: command not found - for both regular user and root > > > > > > > on the server and post log here as an attachment. avahi-browse is in the > > > > avahi-utils package. > > How about installing avahi-utils? :) > > I don't seem to need it for anything else. I'm leery of installing packages, > especially on a server, that I don't use. I bet you have cups-browsed installed on the server. It's completely unneeded and doesn't do anything to enhance the printing system there. But that is BTW. :) > = enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian Secure Internet > Printer local >hostname = [TheLibrarian.local] >address = [fe80::feaa:14ff:fe9b:b835] >port = [631] >txt = ["printer-type=0x80901E" "printer-state=3" "Duplex=T" "Color=T" > "TLS=1.2" "UUID=bd713eeb-c38d-39f4-40b6-a997738b33d1" "URF=DM3" > "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" > "product=(HP Color LaserJet CP1215)" "priority=0" "note=family room" > "adminurl=https://TheLibrarian.local.:631/printers/CP1215; "ty=HP Color > LaserJet CP1215 Foomatic/foo2hp (recommended)" "rp=printers/CP1215" > "qtotal=1" "txtvers=1"] The printer is found at TheLibrarian.local and its resource path is printers/CP1215, giving a URI of ipp://TheLibrarian.local:631/printers/CP1215 At present you are relying on cups-browsed on the client to discover, auto-setup and manage the CP1215; it appears to be having an off day. Let's manage the print queue ourselves. Execute lpadmin -p -v -E -m raw The -p option can be anything you want, for example, cp1215. -- Brian.
Re: Can't print to CUPS printer on my server
On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote: > On 2020-12-08 13:29, Brian wrote: > > > >avahi-browse -art > log1 > > -bash: avahi-browse: command not found - for both regular user and root > > > on the server and post log here as an attachment. avahi-browse is in the > > avahi-utils package. How about installing avahi-utils? :) -- Brian.
Re: Can't print to CUPS printer on my server
Gary Dale writes: > I'm running Debian/Bullseye on my workstation and Debian/Buster on my server. > I have an old HP CP-1215 color laserjet attached to the server by a USB > cable. I can print a CUPS test > page from the server but not from my workstation. When I try to print > anything from my workstation to that printer, I get "No suitable destination > host found by cups-browsed." > > I've deleted and re-added the printer on the server and rebooted my > workstation but I still get the same problem. > > The printer is using the foomatic drivers. CUPS reports that it is 2.3.3op1 > on my workstation and 2.2.10 on my server. Did you set the printer to be shared?
Can't print to CUPS printer on my server
I'm running Debian/Bullseye on my workstation and Debian/Buster on my server. I have an old HP CP-1215 color laserjet attached to the server by a USB cable. I can print a CUPS test page from the server but not from my workstation. When I try to print anything from my workstation to that printer, I get /"No suitable destination host found by cups-browsed."/ I've deleted and re-added the printer on the server and rebooted my workstation but I still get the same problem. The printer is using the foomatic drivers. CUPS reports that it is 2.3.3op1 on my workstation and 2.2.10 on my server. //
Re: Can't print to CUPS printer on my server
On Tue 08 Dec 2020 at 19:24:45 +0100, deloptes wrote: > Gary Dale wrote: > > > I'm running Debian/Bullseye on my workstation and Debian/Buster on my > > server. I have an old HP CP-1215 color laserjet attached to the server > > by a USB cable. I can print a CUPS test page from the server but not > > from my workstation. When I try to print anything from my workstation to > > that printer, I get /"No suitable destination host found by > > cups-browsed."/ > > > > I've deleted and re-added the printer on the server and rebooted my > > workstation but I still get the same problem. > > > > The printer is using the foomatic drivers. CUPS reports that it is > > 2.3.3op1 on my workstation and 2.2.10 on my server. > > // > > On the client side /etc/cups/client.conf > set ServerName to the name or the IP of the cups server First off: Unless it is desired to make ServerName system-wide, one should use ~/.cups/client.conf. Secondly: avahi-daemon, cups-browsed and, more importantly, cupsd become redundant and unused. They may as well be purged from the client. How does the client get to know the printer's attributes? That can be done at present, even though printing does not take place. -- Brian.
Re: Can't print to CUPS printer on my server
On Tue 08 Dec 2020 at 12:27:18 -0500, Gary Dale wrote: > I'm running Debian/Bullseye on my workstation and Debian/Buster on my > server. I have an old HP CP-1215 color laserjet attached to the server by a > USB cable. I can print a CUPS test page from the server but not from my The server is not the problem if printing from it is successful. Please do avahi-browse -art > log1 on the server and post log here as an attachment. avahi-browse is in the avahi-utils package. Also give 'lpstat -t'. > workstation. When I try to print anything from my workstation to that > printer, I get /"No suitable destination host found by cups-browsed."/ This is a cups-browsed issue. Give 'lpstat -t' on the client. > I've deleted and re-added the printer on the server and rebooted my > workstation but I still get the same problem. > > The printer is using the foomatic drivers. CUPS reports that it is 2.3.3op1 > on my workstation and 2.2.10 on my server. > // Executing avahi-browse -art > log2 on the client and sending log2 here could be useful. -- Brian.
Re: Can't print to CUPS printer on my server
Gary Dale wrote: > I'm running Debian/Bullseye on my workstation and Debian/Buster on my > server. I have an old HP CP-1215 color laserjet attached to the server > by a USB cable. I can print a CUPS test page from the server but not > from my workstation. When I try to print anything from my workstation to > that printer, I get /"No suitable destination host found by > cups-browsed."/ > > I've deleted and re-added the printer on the server and rebooted my > workstation but I still get the same problem. > > The printer is using the foomatic drivers. CUPS reports that it is > 2.3.3op1 on my workstation and 2.2.10 on my server. > // On the client side /etc/cups/client.conf set ServerName to the name or the IP of the cups server
Re: lp/lpr can't print from cups client
On Mon, Jun 22, 2009 at 02:52:26PM -0400, John wrote: Following Ben Finney's finding under Bug #530027, I downgraded everything cups to 1.3.8-1lenny5. That in turn required a frightening I'm pretty sure it's a regression or incompatibility. So, I've gone ahead and filed a bug against the packages in Squeeze. Doesn't anyone from the cups team monitor this list? Well, even if they did, they're not required to do anything about it unless you file a bug. :) I usually ask for help on the list before filing a bug just in case PEBKAC, but real bugs require bug reports. If the situation becomes dire, I may try to downgrade like you did, but in the meantime I will just try to work around it until the bug I filed in closed. -- Oh, look: rocks! -- Doctor Who, Destiny of the Daleks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: lp/lpr can't print from cups client
On Sun, Jun 21, 2009 at 02:24:09 -0700, Todd A. Jacobs wrote: On Sat, Jun 20, 2009 at 05:48:15PM +0200, Florian Kulzer wrote: What kind of upgrades? (In other words: Please tell us which version of Debian you are running and how up-to-date it is.) Last time I checked was before the upgrade to Lenny. The utilities are provided by: cups-client: /usr/bin/lp cups-bsd: /usr/bin/lpq cups-bsd: /usr/bin/lpr and I have the following packages installed: cups-client/stable uptodate 1.3.8-1+lenny6 cups-bsd/stable uptodate 1.3.8-1+lenny6 None of which really addresses the question of what the error message means. I decide which questions I consider relevant for approaching this problem in a systematic manner. If you do not like how I proceed then you will have to find someone else to help you. The versions of the client packages seem to be OK, so the next step is to check how the local client tries to connect to the cups server: grep -Ev '^(#|$)' /etc/cups/client.conf strace -enetwork lpq (You need the strace package for the second test.) -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: lp/lpr can't print from cups client
On (22/06/09 19:39), Florian Kulzer wrote: | On Sun, Jun 21, 2009 at 02:24:09 -0700, Todd A. Jacobs wrote: | On Sat, Jun 20, 2009 at 05:48:15PM +0200, Florian Kulzer wrote: | None of which really addresses the question of what the error message | means. | | I decide which questions I consider relevant for approaching this | problem in a systematic manner. ... I've been following this thread with some interest because my up-to-date sid has been having the same symptoms for some time, and I'd been unable to figure it out. Until today? Following Ben Finney's finding under Bug #530027, I downgraded everything cups to 1.3.8-1lenny5. That in turn required a frightening dpkg --force-overwrite to get libkrb53_1.6.dfsg.4~beta1-5lenny1_i386.deb to overwrite /usr/lib/[various krb5 stuff] that is also in three other packages. DON'T BLAME ME IF YOU SCREW UP YOUR MACHINE. FORCE-OVERWRITE IS SERIOUS BUSINESS. At least printing now works fine. And I have rebooted, and apparently I did not wreak havoc. Doesn't anyone from the cups team monitor this list? -- johnrchamp...@columbus.rr.com GPG key 1024D/99421A63 2005-01-05 EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63 gpg --keyserver subkeys.pgp.net --recv-keys 99421A63 signature.asc Description: Digital signature
Re: lp/lpr can't print from cups client
On Sat, Jun 20, 2009 at 05:48:15PM +0200, Florian Kulzer wrote: What kind of upgrades? (In other words: Please tell us which version of Debian you are running and how up-to-date it is.) Last time I checked was before the upgrade to Lenny. The utilities are provided by: cups-client: /usr/bin/lp cups-bsd: /usr/bin/lpq cups-bsd: /usr/bin/lpr and I have the following packages installed: cups-client/stable uptodate 1.3.8-1+lenny6 cups-bsd/stable uptodate 1.3.8-1+lenny6 None of which really addresses the question of what the error message means. If I can see the printer in cups, why won't it print? Isn't there some way to get debugging information out of cups? $ echo foo | pr | /usr/bin/lp /usr/bin/lp: Error - scheduler not responding! $ echo foo | pr | /usr/bin/lp -d hpoj /usr/bin/lp: Bad Request The only other thing I can think of is that the cups server on the remote side is running testing/unstable. Is there a potential mismatch there, and how would I debug THAT? -- Oh, look: rocks! -- Doctor Who, Destiny of the Daleks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: lp/lpr can't print from cups client
I'm not getting any logs from the local cups-client, but the remote server is logging the following when I attempt to print (see previous post): 192.168.101.103 - - [21/Jun/2009:02:20:49 -0700] POST / HTTP/1.1 400 0 - - 192.168.101.103 - - [21/Jun/2009:02:20:49 -0700] POST /printers/hpoj HTTP/1.1 400 0 - - So the server is definitely receiving the communication, and rejecting it as malformed somehow. That's pretty non-specific, though, and unless it's a configuration issue then it's definitely a bug that needs to be filed against the version of cups in stable. Any ideas about where to go from this point? -- Oh, look: rocks! -- Doctor Who, Destiny of the Daleks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: lp/lpr can't print from cups client
On Fri, Jun 19, 2009 at 06:19:25 -0700, Todd A. Jacobs wrote: I have cupsd configured on a remote host to publish its printers, and the web interface on http://localhost:631 on the local server sees the remote printers and a defined default printer. However: $ lpq lpq: error - no default destination available. $ echo foo | lpr lpr: Error - scheduler not responding! And the following acts as a no-op: $ echo foo | lp This was working as-is a few upgrades ago. What kind of upgrades? (In other words: Please tell us which version of Debian you are running and how up-to-date it is.) How can I troubleshoot this, and what might be the problem? Make sure that you have the correct versions of cups-client and cups-bsd installed. Verify that your system is actually using the lp* commands of these packages: dpkg -S $(which lp) $(which lpq) $(which lpr) -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
lp/lpr can't print from cups client
I have cupsd configured on a remote host to publish its printers, and the web interface on http://localhost:631 on the local server sees the remote printers and a defined default printer. However: $ lpq lpq: error - no default destination available. $ echo foo | lpr lpr: Error - scheduler not responding! And the following acts as a no-op: $ echo foo | lp This was working as-is a few upgrades ago. How can I troubleshoot this, and what might be the problem? -- Oh, look: rocks! -- Doctor Who, Destiny of the Daleks -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Can't print print in gnome 2.22 after upgrading etch lenny
Hi, I found out what was wrong. The cups in lenny uses the FQDN. You can checkout the used FQDN using ngrap. There was no error reported by /vav/log/cups/error.log Thank you and greetings! Javier Barroso wrote: Hi, On Fri, Mar 13, 2009 at 2:10 PM, Sebastian Schnur s.sch...@gsd-software.net wrote: Hi dear debian-users, the new gnome in lenny is kidding me. I can't print out of all gnome-applications. So whats wrong? lpstat -p says that everything is allright with cups. I haven't found any bug according this. So I might solve the problem with some help. The libgnomeprint* are already installed. So I don't know where the problem could lie. I hope someone has a possible suggestion. Did you look at /vav/log/cups/error.log ? Regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Can't print print in gnome 2.22 after upgrading etch lenny
Hi dear debian-users, the new gnome in lenny is kidding me. I can't print out of all gnome-applications. So whats wrong? lpstat -p says that everything is allright with cups. I haven't found any bug according this. So I might solve the problem with some help. The libgnomeprint* are already installed. So I don't know where the problem could lie. I hope someone has a possible suggestion. Thanks for your help Sebastian -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: can't print from adobe reader
On Thu, Jun 19, 2008 at 20:03:49 -0400, Paul Cartwright wrote: On Thu June 19 2008, Florian Kulzer wrote: I changed it to custom. With my printer selected, it showed: Status: lpq: Epson 880:unknown printer with custom selected, the printer command showed: /usr/bin/lp [...] I changed it to custom and used /usr/bin/lpr as the command. It accepted it, then did nothing. No error, but no print. You should also try /usr/bin/lpr -P EpsonR380 /usr/bin/lp -d EpsonR380 After failed attempts, check ~/.xsession-errors and /var/log/cups/*_log for clues. If that does not produce anything useful, set LogLevel debug (instead of warning) in /etc/cups/cupsd.conf, restart cups(ys) and try again. In an X terminal, what do you get from these commands: lpq # lpq no entries Hmm, I see a line XXX is ready above the no entries one, where XXX is the name of the default printer. [...] paulandcilla:/etc/dhcp3# lpstat -t scheduler is running system default destination: EpsonR380 device for Epson_880: usb://EPSON/Stylus%20COLOR%20880 device for epson_greyscale: usb://EPSON/Stylus%20COLOR%20880 device for EpsonR380: usb://EPSON/Stylus%20Photo%20R380 device for HP_8100_photoSmart: usb://HP/Photosmart%208100%20series?serial=MY4681M0GS040Z Epson_880 accepting requests since Sun 10 Feb 2008 12:42:12 PM EST epson_greyscale accepting requests since Sun 10 Feb 2008 12:43:20 PM EST EpsonR380 accepting requests since Thu 19 Jun 2008 06:42:49 PM EDT HP_8100_photoSmart accepting requests since Wed 30 Jan 2008 08:32:36 AM EST printer Epson_880 is idle. enabled since Sun 10 Feb 2008 12:42:12 PM EST printer epson_greyscale is idle. enabled since Sun 10 Feb 2008 12:43:20 PM EST printer EpsonR380 is idle. enabled since Thu 19 Jun 2008 06:42:49 PM EDT printer HP_8100_photoSmart is idle. enabled since Wed 30 Jan 2008 08:32:36 AM EST That looks OK to me; let's hope that looking at the log files turns up something. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't print from adobe reader
On Fri June 20 2008, Florian Kulzer wrote: I changed it to custom. With my printer selected, it showed: Status: lpq: Epson 880:unknown printer with custom selected, the printer command showed: /usr/bin/lp [...] I changed it to custom and used /usr/bin/lpr as the command. It accepted it, then did nothing. No error, but no print. You should also try /usr/bin/lpr -P EpsonR380 this failed: unknown printer EpsonR380 /usr/bin/lp -d EpsonR380 this worked! Adobe needs to get with it and print to the standard CUPS system!! thanks for the help. -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't print from adobe reader
On Wed, Jun 18, 2008 at 21:47:18 -0400, Paul Cartwright wrote: On Wed June 18 2008, Florian Kulzer wrote: I'm assuming this is because adobe reader is setup with LPR ?? as opposed to CUPS?? if so, how do I change it to CUPS ?? I see all my defined CUPS printers in the Adobe reader print dialog and they all work. I think this depends on having cups-bsd installed. (Lenny still uses the name cupsys-bsd for the relevant package right now.) except that I have that installed: ii cupsys 1.3.7-5 Common UNIX Printing System(tm) - server rc cupsys-bsd 1.3.7-5 Common UNIX Printing System(tm) - BSD commands oh yeah, running Lenny on my desktop just ran the latest updates this morning.. You can also set the printer name to Custom... in the print dialog in the Adobe reader, then you can define the print command yourself. If you are using KDE anyway then you can simply set this command to kprinter (without any parameters) then you will get the usual KDE print dialog with all its features once you press OK in Adobe's print dialog. I like setting up my system like this because it gives me easy access to kprinter functions like Send to Fax from within the Adobe reader. I changed it to custom. With my printer selected, it showed: Status: lpq: Epson 880:unknown printer with custom selected, the printer command showed: /usr/bin/lp Can you print with the custom setting? If not, does changing the command to /usr/bin/lpr improve the situation? In an X terminal, what do you get from these commands: lpq lpstat -a -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't print from adobe reader
On Thu June 19 2008, Florian Kulzer wrote: I changed it to custom. With my printer selected, it showed: Status: lpq: Epson 880:unknown printer with custom selected, the printer command showed: /usr/bin/lp Can you print with the custom setting? If not, does changing the command to /usr/bin/lpr improve the situation? I changed it to custom and used /usr/bin/lpr as the command. It accepted it, then did nothing. No error, but no print. In an X terminal, what do you get from these commands: lpq # lpq no entries lpstat -a # lpstat -a Epson_880 accepting requests since Sun 10 Feb 2008 12:42:12 PM EST epson_greyscale accepting requests since Sun 10 Feb 2008 12:43:20 PM EST EpsonR380 accepting requests since Thu 19 Jun 2008 06:42:49 PM EDT HP_8100_photoSmart accepting requests since Wed 30 Jan 2008 08:32:36 AM EST paulandcilla:/etc/dhcp3# lpstat -t scheduler is running system default destination: EpsonR380 device for Epson_880: usb://EPSON/Stylus%20COLOR%20880 device for epson_greyscale: usb://EPSON/Stylus%20COLOR%20880 device for EpsonR380: usb://EPSON/Stylus%20Photo%20R380 device for HP_8100_photoSmart: usb://HP/Photosmart%208100%20series?serial=MY4681M0GS040Z Epson_880 accepting requests since Sun 10 Feb 2008 12:42:12 PM EST epson_greyscale accepting requests since Sun 10 Feb 2008 12:43:20 PM EST EpsonR380 accepting requests since Thu 19 Jun 2008 06:42:49 PM EDT HP_8100_photoSmart accepting requests since Wed 30 Jan 2008 08:32:36 AM EST printer Epson_880 is idle. enabled since Sun 10 Feb 2008 12:42:12 PM EST printer epson_greyscale is idle. enabled since Sun 10 Feb 2008 12:43:20 PM EST printer EpsonR380 is idle. enabled since Thu 19 Jun 2008 06:42:49 PM EDT printer HP_8100_photoSmart is idle. enabled since Wed 30 Jan 2008 08:32:36 AM EST -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
can't print from adobe reader
I wanted to print a 1-page coupon that was a PDF doc. Tried adobe reader and it gave me a whole error page output. kpdf printed it just fine adobe error: the following error occured while printing... `usage: lpr [-cdfghlmnpqrst][-#num][-1234 font][ -C class][-i [numcols]] [-j job][-Pprinter][-T title][-U user][-wnum][-name...]' I'm assuming this is because adobe reader is setup with LPR ?? as opposed to CUPS?? if so, how do I change it to CUPS ?? oh yeah, running Lenny on my desktop just ran the latest updates this morning.. -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't print from adobe reader
On Wed, Jun 18, 2008 at 14:36:54 -0400, Paul Cartwright wrote: I wanted to print a 1-page coupon that was a PDF doc. Tried adobe reader and it gave me a whole error page output. kpdf printed it just fine adobe error: the following error occured while printing... `usage: lpr [-cdfghlmnpqrst][-#num][-1234 font][ -C class][-i [numcols]] [-j job][-Pprinter][-T title][-U user][-wnum][-name...]' I'm assuming this is because adobe reader is setup with LPR ?? as opposed to CUPS?? if so, how do I change it to CUPS ?? I see all my defined CUPS printers in the Adobe reader print dialog and they all work. I think this depends on having cups-bsd installed. (Lenny still uses the name cupsys-bsd for the relevant package right now.) oh yeah, running Lenny on my desktop just ran the latest updates this morning.. You can also set the printer name to Custom... in the print dialog in the Adobe reader, then you can define the print command yourself. If you are using KDE anyway then you can simply set this command to kprinter (without any parameters) then you will get the usual KDE print dialog with all its features once you press OK in Adobe's print dialog. I like setting up my system like this because it gives me easy access to kprinter functions like Send to Fax from within the Adobe reader. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: can't print from adobe reader
On Wed June 18 2008, Florian Kulzer wrote: I'm assuming this is because adobe reader is setup with LPR ?? as opposed to CUPS?? if so, how do I change it to CUPS ?? I see all my defined CUPS printers in the Adobe reader print dialog and they all work. I think this depends on having cups-bsd installed. (Lenny still uses the name cupsys-bsd for the relevant package right now.) except that I have that installed: ii cupsys 1.3.7-5 Common UNIX Printing System(tm) - server rc cupsys-bsd 1.3.7-5 Common UNIX Printing System(tm) - BSD commands oh yeah, running Lenny on my desktop just ran the latest updates this morning.. You can also set the printer name to Custom... in the print dialog in the Adobe reader, then you can define the print command yourself. If you are using KDE anyway then you can simply set this command to kprinter (without any parameters) then you will get the usual KDE print dialog with all its features once you press OK in Adobe's print dialog. I like setting up my system like this because it gives me easy access to kprinter functions like Send to Fax from within the Adobe reader. I changed it to custom. With my printer selected, it showed: Status: lpq: Epson 880:unknown printer with custom selected, the printer command showed: /usr/bin/lp -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print web pages correctly
Hi, I'm currently using testing and I have this problem that regardless of the web browser (Mozilla based, Opera, Konqueror), pages are printed with the wrong orientation. If I print them in portrait, they come out landscape. but obviously with the bottom part of the page cut off. If I print then landscape they come out in portrait mode (upside down to normal) but now it loses the ends of each line. Open office works fine in printing html pages. If I print to a file they come out OK. Printing the postscript file with evince is fine, but it's a pain taking two steps to do what should be one step. No other type of application, as far as I know, has this kind of consistent printing problem. I'm using CUPS. Does anyone know how to correct this? -- God bless you, Keith Bates 4 Mooloobar St Narrabri NSW 2390 Phone: 02 67924890 Fax: 02 67925418 www.new-life.org.au If you don't have a reason to live JESUS IS THE ANSWER! Ask him into your life today... He really does make a difference. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print Japanese pdf files generated with `platex' and `dvipdfmx'
Hi, After installing all kind of packages on my Debian edge system and following all kind of howtos I found on the net, I am finally able to generate and view Japanese pdf files using kpdf (I was not able to make evince display the file and therefore installed kpdf). But still my printer will not print anything (neither from kpdf nor when using kprinter) and just signals an Error... What can I do? Printer: HP PhotoSmart 2575a All-in-One Driver: HPLIP 1.6.10 ( http://hplip.sourceforge.net/ ) Thanks, Dietrich Some notes: * ~/.xpdfr In order to make kpdf work, I installed xpdf-japanese and created the file ~/.xpdfrc containing the line `include /etc/xpdf/xpdfrc'. (I followed the indications on page http://debian.fam.cx/index.php?Japanese ) In the latter file all kind of fonts are described: ... displayFontT1 Times-Roman /usr/share/fonts/type1/gsfonts/n021003l.pfb displayFontT1 Times-Italic /usr/share/fonts/type1/gsfonts/n021023l.pfb ... Do I have to do something similar to make the printer driver know about the necessary fonts? * my test file: echo '---'; cat neko.tex; echo '---' --- \documentclass[a4paper]{jarticle} \usepackage{color} \begin{document} \title{\LaTeX 吾輩は猫である。} \author{名前はまだ無い。} \maketitle \section{猫} 吾輩は{\color{red}猫}である。 wagahai wa neko de aru. \end{document} --- * what I tried to generate and print the pdf file platex neko.tex xdvi neko.dvi dvipdfmx neko.dvi # evince doesn't work (displays Kanji - but not the correct ones): ### evince neko.pdf # kpdf displays the Kanji correctly - but doesn't print the document (Error...): kpdf neko.pdf # kprinter also displays an error when trying to print neko.pdf ### kprinter neko.pdf Thanks again :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
gnome apps can't print, everything else can
Hello! I have developed a problem with my gnome printing system. I am using cups with a samsung ml1520 + unstable amd64. The problem is that gnome apps can no longer print for some reason. They generate a job on the printer (according to cups) but this job is dispatched instantly without being actually printed. firefox, openoffice and kpdf can print. Evince cannot print and the gnome print centre cannot print a test page, even though it sees the printer. Apps that use lpr seem to fail too, e.g. gv. [EMAIL PROTECTED]:~$ lpr lpr: Error - no default destination available. [EMAIL PROTECTED]:~$ cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. lp|Samsung ML-1520 Series (SPL II):rm=hyde:rp=lp: Could this be related to my gnome printing problem? Seems not since these lpr apps do not generate a print job in the log, unlike the gnome apps. Can anyone make any suggestions as to what might have gone wrong? cheers matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: CUPS: I can't print from command line (loop in printcap)
Andrea Ganduglia [EMAIL PROTECTED] writes: On my Debian Sarge I have installed cups and it woks well (Print Test Page), but when I try to print from command line lpr detects error in /etc/printcap file. floyd:~# lpq Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED]) Queue: no printable jobs in queue Error: loop in printcap- [EMAIL PROTECTED] - [EMAIL PROTECTED] How can I solve this? I have tried to reinstall and reconfigure cups, but situation is unchanged. Thx. CUPS doesn't use /etc/printcap (but can be configured to generate one for compatibility). Do you have cupsys-bsd installed? Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `-GPG Public Key: 0x25BFB848 Please GPG sign your mail. pgpYfJIGiCiSl.pgp Description: PGP signature
CUPS: I can't print from command line (loop in printcap)
On my Debian Sarge I have installed cups and it woks well (Print Test Page), but when I try to print from command line lpr detects error in /etc/printcap file. floyd:~# lpq Printer: [EMAIL PROTECTED] (dest [EMAIL PROTECTED]) Queue: no printable jobs in queue Error: loop in printcap- [EMAIL PROTECTED] - [EMAIL PROTECTED] How can I solve this? I have tried to reinstall and reconfigure cups, but situation is unchanged. Thx. -- Openclose.it - Idee per il software libero http://www.openclose.it -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
Andrew Vaughan wrote: On Tue, 3 Jan 2006 07:41, Mike McCarty wrote: Katipo wrote: Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? I don't know. I used the regular means to install, and it can print a test page. Firefox (and other apps) *thinks* it can queue a print request to that printer, but nothing comes out. Can other gnome/kde apps print ok? Firefox doesn't seem to be as integrated with cups as eg Konqueror. Anytime I need to print from Firefox I print to a .ps file, then use KGhostView to print via cups. I did reply to this, but I didn't see it show up on the echo. Nothing I have tried can use that printer, except for the Print Test Page. I also had tried print to file and then use the GNOME tool to view the file and print it. It thought it queued up the print job, but nothing came out. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
Jacob S wrote: On Mon, 02 Jan 2006 14:41:09 -0600 Mike McCarty [EMAIL PROTECTED] wrote: Katipo wrote: Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? I don't know. I used the regular means to install, and it can print a test page. Firefox (and other apps) *thinks* it can queue a print request to that printer, but nothing comes out. dpkg -l xprint* to see if you have xprt installed. (Which would have I did send a reply, but I don't see it on the echo... $ su - # dpkg -l xprint* no packages found matching xprint* Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Help! Can't print on Windows Shared Printer!
We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? Sloppy answer, sloppy response. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
Katipo wrote: Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? I don't know. I used the regular means to install, and it can print a test page. Firefox (and other apps) *thinks* it can queue a print request to that printer, but nothing comes out. Sloppy answer, sloppy response. I mentioned that I *did* write an informative question. It got no responses. So this one is already doing better. Here's the previous message: Synopsis: GNOME/Debian prints a test page using an ethernet LAN to a Windows 95 machine, but still cannot print from applications. Booting from either Knoppix or Kanotix LiveCD and configuring the printer works fine. Google turned up no help on this. Windows Machine: HP DeskJet 895c connected to Win95 machine All local print functions work properly Machine shares printer Windows Work Group: RockyFriends Machine Name: BORIS Printer Name: BORIS_PRINT This machine has been working as a print server for four years at least with no changes. Debian Machine: This machine has used BORIS as a print server successfully for over four years. It ran WinNT without problems using the remote printer. This machine was recently converted to use Debian. No other changes in configuration have taken place. Debian Setup... 2.1GHz Celeron 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux GNOME 2.8.3 [Only one printer configured] Application-DesktopPreferences-SystemTools-Printer-ConfigurePrinters gives a dialogue box. Selected the printer named DeskJet895c, which has already been configured before but which does not actually print remote jobs. RightClick Properties-BecomeAdministrator Enter root password Set driver to DeskJet 895c (recommended) Set Connection to Network-Windows (SMB) set to BORIS and BORIS_PRINT in the two fields provided Click PrintTestPage and test page prints without error. Click Close (not just close the window, used the button). Start Mozilla web browser. File-Print-To Printer-Postscript/DeskJet895c Mozilla thinks the print job was queued with no problem, but the printer does not respond. Looked in /var/spool/cups and there are only two files, with the current date; one is a directory /var/spool/cups/tmp which is empty, and the other is /var/spool/cups/c4 which is a binary file, 602 bytes and appears to be a description of the test page print job. Rebooting the same machine using Knoppix LiveCD, starting SMB, and configuring the printer works fine, but running from a LiveCD is not really desirable. (Kanotix LiveCD also works with this printer.) I'm at something of a loss to know how to continue configuring this printer or figuring out what is wrong. Some parts of Debian seem to know how to use the printer, since the print test page works, and the apps seem to think they can queue jobs to it, but nothing actually prints. Any pointers or help appreciated. Thanks for your time. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
On Mon, 02 Jan 2006 14:41:09 -0600 Mike McCarty [EMAIL PROTECTED] wrote: Katipo wrote: Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? I don't know. I used the regular means to install, and it can print a test page. Firefox (and other apps) *thinks* it can queue a print request to that printer, but nothing comes out. dpkg -l xprint* to see if you have xprt installed. (Which would have been more helpful than simply pasting your previous e-mail to the bottom of your reply. Just FYI.) HTH, Jacob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
On Tue, 3 Jan 2006 07:41, Mike McCarty wrote: Katipo wrote: Mike McCarty wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. (I tried a well-crafted question, maybe this sloppy one will get a response.) Mike Got xprt installed? I don't know. I used the regular means to install, and it can print a test page. Firefox (and other apps) *thinks* it can queue a print request to that printer, but nothing comes out. Can other gnome/kde apps print ok? Firefox doesn't seem to be as integrated with cups as eg Konqueror. Anytime I need to print from Firefox I print to a .ps file, then use KGhostView to print via cups. HTH Andrew V. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. Try turning off bi-directional in the printer properties under Windows...worked for me. Ed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Help! Can't print on Windows Shared Printer!
Ed wrote: We have an HP Deskjet connected to a Windows printer. Debian can print a test page, but applications like web browsers can't make anything come out. Try turning off bi-directional in the printer properties under Windows...worked for me. Thanks for the helpful hint. But this printer works just fine when we boot from Knoppix or Kanotix, so I have to believe that it's a configuration problem on the Debian side. But I'll definitely give it a try. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Test Page prints fine, Can't print on SMB Shared Printer
Synopsis: GNOME/Debian prints a test page using an ethernet LAN to a Windows 95 machine, but still cannot print from applications. Booting from either Knoppix or Kanotix LiveCD and configuring the printer works fine. Google turned up no help on this. Windows Machine: HP DeskJet 895c connected to Win95 machine All local print functions work properly Machine shares printer Windows Work Group: RockyFriends Machine Name: BORIS Printer Name: BORIS_PRINT This machine has been working as a print server for four years at least with no changes. Debian Machine: This machine has used BORIS as a print server successfully for over four years. It ran WinNT without problems using the remote printer. This machine was recently converted to use Debian. No other changes in configuration have taken place. Debian Setup... 2.1GHz Celeron 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux GNOME 2.8.3 [Only one printer configured] Application-DesktopPreferences-SystemTools-Printer-ConfigurePrinters gives a dialogue box. Selected the printer named DeskJet895c, which has already been configured before but which does not actually print remote jobs. RightClick Properties-BecomeAdministrator Enter root password Set driver to DeskJet 895c (recommended) Set Connection to Network-Windows (SMB) set to BORIS and BORIS_PRINT in the two fields provided Click PrintTestPage and test page prints without error. Click Close (not just close the window, used the button). Start Mozilla web browser. File-Print-To Printer-Postscript/DeskJet895c Mozilla thinks the print job was queued with no problem, but the printer does not respond. Looked in /var/spool/cups and there are only two files, with the current date; one is a directory /var/spool/cups/tmp which is empty, and the other is /var/spool/cups/c4 which is a binary file, 602 bytes and appears to be a description of the test page print job. Rebooting the same machine using Knoppix LiveCD, starting SMB, and configuring the printer works fine, but running from a LiveCD is not really desirable. (Kanotix LiveCD also works with this printer.) I'm at something of a loss to know how to continue configuring this printer or figuring out what is wrong. Some parts of Debian seem to know how to use the printer, since the print test page works, and the apps seem to think they can queue jobs to it, but nothing actually prints. Any pointers or help appreciated. Thanks for your time. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
can't print from opera
i' using debian eth, opera 8.02 cups. cups works fine, progpam lp prints fine too. i can tell opera to use lp as printing program, but it leads nowere - i only see message printing... and all -- Vasily Levin I am the ILOVEGNU signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License.
Re: can't print from opera
On 09/22/2005 10:02 am, Vasily Levin wrote: i' using debian eth, opera 8.02 cups. cups works fine, progpam lp prints fine too. i can tell opera to use lp as printing program, but it leads nowere - i only see message printing... and all I assume you have cups-bsd installed. Are you using KDE? If so, try putting kprinter as the printer command if lp or lpr will not work, and put something like -Plp0 or -Pprinter in the Parameter box under the box that has the print command (in Opera's printer settings). I don't think it will work if you put in the command box something like lp -Plp0 you need to put the -Plp0 in the box labelled Parameter. That is how it works for me. I have -Pprinter in my parameter box because that is how I set mine up. 8) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can't print postscript with cups
Henry Gunter wrote: If i try to print a postscript file lpr /var/lib/sql-ledger/users/1118008807.invoice.377.ps there is no response from the printer. I have turned on debug2 which dumps a ton of info 534 lines into the log. but i can't seem to find the problem. Log can bee seen here. https://204.49.133.59/error_log If anyone could point me in the right direction i would be greatfull! Henry Gunter Do you have Gostscript and everything related to it installed? Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print postscript with cups
I have cups ,hpijs, and foomatic installed on debian sarge. I have an HP-OfficeJet-9100 that prints great form one machine but only prints text from the new server. The older machine that works has X-server so the printer was installed with the GUI. The new server has no GUI. I have been working on this for a couple of weeks. From the commandline lpstat -t returns system default destination: HP9120 device for HP9120: hp:/net/Officejet_9100_series?ip=192.168.1.2 HP9120 accepting requests since Jan 01 00:00 printer HP9120 is idle. enabled since Jan 01 00:00 ready to print I can print a text file fine! lpr /home/henryg/file If i try to print a postscript file lpr /var/lib/sql-ledger/users/1118008807.invoice.377.ps there is no response from the printer. I have turned on debug2 which dumps a ton of info 534 lines into the log. but i can't seem to find the problem. Log can bee seen here. https://204.49.133.59/error_log If anyone could point me in the right direction i would be greatfull! Henry Gunter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print a PDF file
I know little about PDF and/or Postscript. I'm looking for pointers for where to seek help (perhaps a list or someone that know pdf/postscript). I'm running an up to date Sid installation. I use CUPS for printing. Printing PDFs normally works fine. I received a PDF that I'm suppose to print out and fill in the form. One feature is that some of the fields are already filled in -- as if they did some type of merge to pre-fill in a few of the fields with my specific info. The basic problem is I can't print the PDF. - Xpdf displays the pdf correctly with my personal info displayed on the form. - gv displays the form without the personal info displayed. It generates the following error: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- %finish_show --nostringval-- --nostringval-- 4 8 1 --nostringval-- (bbox_text_enum) %op_show_continue --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1053/1417(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:97/127(ro)(G)-- --dict:229/230(ro)(G)-- --dict:19/24(L)-- --dict:4/6(L)-- --dict:24/31(L)-- --dict:12/16(ro)(L)-- Current allocation mode is local ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1 - gs displays the form for an instant and then aborts with the same message. - Printing with CUPS makes my HP non-postscript printer's light flash a few times then nothing prints. - Using Xpdf to print to file generates a postscript file. I get the same behavior trying to display it in gv or gs. - acroread displays the form correctly but when sending to the printer it also make the light flash a few times then nothing happens. Acroread does warn that the PDF contains features not supported in that version of acroread (which is the most current version available for linux). I'd like to figure out why it's failing. -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mozilla: can't print, can't display .pdf files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/26/04 16:52, Michael Friendly wrote: | I'm using mosilla for email, news and browser, | | Mozilla 1.4 | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031010 Debian/1.4-6 | | Whenever I try to print an email or web page, I get a panel that | says Preparing.. that hangs, and I have to kill mozilla. | | I recently upgraded mozilla via aptitude install mozilla, thinking | this might solve the problem. | I still can't print, and now, when I try to open a pdf file in the | browser, I just get an empty browser window. | | How can I tell what is wrong? How can I try to fix this? | | thanks. | | | -- | Michael Friendly Email: [EMAIL PROTECTED] | Professor, Psychology Dept. | York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 | 4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html | Toronto, ONT M3J 1P3 CANADA Michael, There are two likely reasons you have received no replies to your post. 1) You posted to linux.debian.user which is a one-way gateway from the mailing list to usenet. So only those of us who read the newsgroup will see it. 2) You missed the recent discussions here on mozilla printing problems. ~ Perhaps a Google search, http://groups.google.com/groups?hl=enlr=ie=ISO-8859-1q=mozilla+printbtnG=Searchmeta=group%3Dlinux.debian.user.* ~ or visit to http://lists.debian.org/search.html could help. So check the recent discussions and let us know. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAaMwVcSXyJWZ5eB8RAsZSAKDt3YgPcPoKXIAa9H9wSV/o6DL1wACg52hY x1sP8BmqCTYeQhoFTPaPLj8= =N0zm -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Can't print from apps
On 16 Jul 2003, J. Buchanan wrote: Please reply to me as well as the list since I can't subscibe to high volume lists without my internet connection choking :) My lprng with a Kyocera Mita FS-1010 printer seems to work really well - the KDE printer preferences dialogue sends a test page fine, as do other tools to test the printer. I have a PPD installed for my printer, have a correct /etc/printcap (I hope, please see below), have foomatic-rip.pl installed, foomatic-gswrapper, and my printer is on /dev/lp0. I can never print from an application like postscript viewers when viewing a ps document, nor can I do: lpr -Pqueue1 file.ps Nothing ever happens for some reason. But it always works fine when sending a test page! I wonder why? Any ideas? Many Thanks ;) [snip] This is not a direct solution, but I have this printer as well and it works perfectly, printing directly from lpr, from apps, and from dvips. I don't use KDE or Gnome; I set up the printer with magicfilter (having failed to get CUPS to work). My printcap file: # @(#)etc.printcap5.2 (Berkeley) 5/5/88 # # This file was generated by /usr/sbin/magicfilterconfig. # lp|lp|Kyocera FS-1010:\ :lp=/dev/lp0:sd=/var/spool/lpd/lp:\ :sh:pw#80:pl#72:px#1440:mx#0:\ # :if=/etc/magicfilter/ljet4-filter:\ :if=lj5mono :af=/var/log/lp-acct:lf=/var/log/lp-errs: AC -- [EMAIL PROTECTED]|| http://www.acampbell.org.uk using Linux GNU/Debian || for book reviews, electronic Windows-free zone || books and skeptical articles -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print from apps
Please reply to me as well as the list since I can't subscibe to high volume lists without my internet connection choking :) My lprng with a Kyocera Mita FS-1010 printer seems to work really well - the KDE printer preferences dialogue sends a test page fine, as do other tools to test the printer. I have a PPD installed for my printer, have a correct /etc/printcap (I hope, please see below), have foomatic-rip.pl installed, foomatic-gswrapper, and my printer is on /dev/lp0. I can never print from an application like postscript viewers when viewing a ps document, nor can I do: lpr -Pqueue1 file.ps Nothing ever happens for some reason. But it always works fine when sending a test page! I wonder why? Any ideas? Many Thanks ;) # from /etc/printcap queue1|Kyocera Mita FS-1010 Laser Printer :force_localhost :lp=/dev/lp0 : \ :if=/usr/bin/foomatic-rip.pl : \ :filter_options= --lprng $Z /usr/local/lib/FS-1010.ppd : \ :sd=/var/spool/lpd/queue1 : \ :mx#0 :sh : -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Can't print from woody: HPDJ 670C, gs 6.53-3, magicfilter 1.2-53
Greetings, all. I'm having serious trouble printing postscript files from my Woody system. I've got a HPDJ 670c, and I'm running gs 6.53-3 and magicfilter 1.2-53. (This, of course, applies to printing anything that goes through PostScript, like PDF.) I'm using lprng 3.8.10-1. The actual behavior varies somewhat: at best, I'll get one or two lines of good output, then the printer starts making these *horrible* noises, like it's trying to move the print head way off the end of the track and stripping the motor in the process, then spit out the page. It'll suck in a new page, then either spit it out blank or spit it out with two or three lines of gibberish on it. Repeat until I yank the power cord (hitting the power button doesn't help; the printer gets seriously wedged.) Printing ASCII works fine, as does printing PostScript PDF from Windows. /etc/printcap (generated by magicfilterconfig): lp|hpdj670c-m|HP DeskJet 670C (mono):\ :lp=/dev/lp0:sd=/var/spool/lpd/hpdj670c-m:\ :sh:pw#80:pl#66:px#1440:mx#0:\ :if=/etc/magicfilter/dj670c-filter:\ :af=/var/log/lp-acct:lf=/var/log/lp-errs: /etc/magicfilter/dj670c-filter is as installed by the magicfilter package. To print, I'm using the command dvips -Phpdj670c-m specs.dvi The relevant dvips configuration file follows: M hpdj D 2602 X 2602 Y 2602 o |lpr -Phpdj670c-m O 0in,1.54cm I've also tried gs-aladdin, and lpr 2000.05.07-4.2. Neither helps. This used to work, several months ago. I don't keep very careful records of what I change on my system, though, so I can't say exactly what broke it. (I was running testing, though, when I first noticed the problem. I downgraded to stable a while back, in an attempt to fix this and also some truetype font issues. This is the first time I've tried printing since the downgrade.) Any suggestions would be very welcome. Thanks, Richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
can't print euro symbol in text files
that's not a question about displaying euro. I perfecly see the euro symbol both in console and X and my locale (iso-8859-15) is ok. I'm using sarge and I print with cups with my hp930c deskjet (using dj670 cupsomatic ppd driver). everything works great but I can't print the euro symbol (¤) in text files using lp. example: echo euro test ¤ | lp prints euro test and the strange currency symbol (like the o letter with 4 pins) but no euro. If I create a file (echo euro test ¤ print-test), open it with galeon and print it it works even if Galeon prints via the same command (lp)!!! I have no idea about how to fix this problem. I've searched google but found nothing. I tried setting cups charset to iso-8859-15 and language to it (italy) but without succes. anybody would give me some hints? thanks -- Leonardo Canducci - [EMAIL PROTECTED] GPG Key ID: 429683DA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: HP DeskJet 632C - can't print
* John R. Daily ([EMAIL PROTECTED]) spake thusly: Never mind, finally got it to work with lpdomatic. Is foomatic really not packaged for Debian? Save yourself the pain, install cups. Find the ppd for your printer, and copy it over /etc/cups/ppd/yourprinter.ppd (IIR the path C). Dima -- The wombat is a mixture of chalk and clay used for respiration. -- MegaHal
HP DeskJet 632C - can't print
Ever since I've been a system administrator, I've hated printing under UNIX. Some things will probably never change. I have a new 632C, and I can't get anything to work. I have investigated the hpijs driver; it seems to be integrated into gs (probably violating HP's non-free license, but that's a topic for a different list), but no luck. I added the appropriate printer description into lprngtool's database, configured a printer via that tool, and put the hpijs binary in /usr/bin; still no luck. I tried running gs manually: gs -sDeviceName=DJ6xxPhoto -sDEVICE=hpijs ~/input.ps /tmp/pcl GNU Ghostscript 6.51: Unrecoverable error, exit code 1 When I strace the running lpd (I have the latest lprng package), I don't see gs exec'd. I freely admit, I'm an idiot when it comes to all aspects of printing. If there's anyone who has gotten hpijs to work, or gotten any recent HP DeskJet model working, I'd appreciate any advice. -John Daily [EMAIL PROTECTED]
Re: HP DeskJet 632C - can't print
Never mind, finally got it to work with lpdomatic. Is foomatic really not packaged for Debian? -John Daily [EMAIL PROTECTED]
Re: Can't print via samba
On Tue, Oct 09, 2001 at 11:49:31AM +0900, Tomoo Nmura wrote: | Hello, | | This is the first post. | After installing sid samba, I can't print anything. Samba said the | following message. | What is wrong ? | | [2001/10/09 11:06:18, 0] lib/fault.c:fault_report(40) | === | [2001/10/09 11:06:18, 0] lib/fault.c:fault_report(41) | INTERNAL ERROR: Signal 11 in pid 298 (2.2.1a) ^ This is also called SIGSEGV or Segmentation Fault. Basically it doesn't work. Segmentation faults occur when a program tries to access memory that is outside its allocated space. -D
Can't print via samba
Hello, This is the first post. After installing sid samba, I can't print anything. Samba said the following message. What is wrong ? [2001/10/09 11:06:18, 0] lib/fault.c:fault_report(40) === [2001/10/09 11:06:18, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 298 (2.2.1a) Please read the file BUGS.txt in the distribution [2001/10/09 11:06:18, 0] lib/fault.c:fault_report(43) === [2001/10/09 11:06:18, 0] lib/util.c:smb_panic(1101) PANIC: internal error [2001/10/09 11:06:18, 0] smbd/nttrans.c:call_nt_transact_ioctl(1798) call_nt_transact_ioctl: Currently not implemented. Tomoo -- ** Nomura Technical Management Office Ltd. * Tomoo Nomura [EMAIL PROTECTED] http://www.tmo.co.jp/ Phone: +81-78-797-0240 Fax: +81-78-797-0241 @nifty:GBH12257 Worldwide Airline Timetable 'Flight Planner' European Electronic Timetable 'HAFAS' ValueFax Support
AbiWord: can't print/preview, characters as blocks ([][][][])
I'm encountering the following problem with AbiWord under Woody (Version: 0.9.0-0.1). While on-screen display is fine while editing a document, when I print, print preview, or print to file (create a .ps file), all text is rendered as blocks, looking something like: [][][] [][] [][][] [][][][] [] [][][] [][][] [][] [][][] [][] [][][][] [] [][] [][] [] [][] [][][] [][] [][][] [][][] [][][] [][][][][] [][][][] [][][][] [][] [] [][][] [] [] [][][] [][][][][] [][] [][] [] [] [][][] [][] [] [][][][] [] ...which might be considered asthetically pleasing, but has a rather low s/n value. The seems to be related to a number of currently outstanding AbiWord bugs, including: - #109580: abiword: font error - #59267: abiword: Abiword borks with a font error on remote displays - #64365: abiword doesn't find font and doesn't start One attempted solution is to add the line FontPath /usr/share/abisuite/fonts/ ...to /etc/X11/XF8Config-4, as suggested in #109580. (Note that 'abisuite' should be lowercased, rather than MixCase, as in the bug report). However, this has no apparent effect, either within a given X session, or in a new one. I've tried a number of tweaks to try to get fonts updated including: $ xset fp+ /usr/share/abisuite/fonts $ xset fp rehash $ /etc/init.d/xfs restart ...I don't have xfstt installed on this box, though my TT fonts work outside of AbiWord. Anyone else seeing this or have a suggestion? Cheers. -- Karsten M. Self kmself@ix.netcom.com http://kmself.home.netcom.com/ What part of Gestalt don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA!http://www.freesklyarov.org Geek for Hirehttp://kmself.home.netcom.com/resume.html pgp1SgWTh7NKd.pgp Description: PGP signature
Re: Can't print after kernel compile
Ken Januski wrote: I'm wondering if I could have chosen something else in menuconfig that would interfere with parallel printing but if so I sure can't figure out what it is. There are *three* options that need to be in place in the kernel build (look in your .config file): CONFIG_PARPORT (in general setup) CONFIG_PARPORT_PC (in general setup) CONFIG_PRINTER (in character devices) This comes up all the time, since it's confusing.
Re: Can't print after kernel compile
Britton wrote: On Thu, 16 Aug 2001, Ken Januski wrote: Hi, I installed Debian from binaries about a year ago. Today I finally compiled from the source code. Most everything seems fine except for printing. Using lpq I get message asking if my printer is offline?. Trying to print from Netscape I get lpr:connect Connection refused. Jobs queued but cannot start daemon. If you are using a parallel port printer, did you remember to enable parallel port support in the kernel (strangely, I think it is off be default)? Recompiled kernel again this morning with parallel support checked. I'm almost positive it was on last compile as well. But I still have problems. When I boot up I get message: lp no devices found. I'm wondering if I could have chosen something else in menuconfig that would interfere with parallel printing but if so I sure can't figure out what it is. Ken
Re: Can't print after kernel compile
On 17 Aug 2001 11:30:21 -0500, Ken Januski wrote: Britton wrote: On Thu, 16 Aug 2001, Ken Januski wrote: Hi, I installed Debian from binaries about a year ago. Today I finally compiled from the source code. Most everything seems fine except for printing. Using lpq I get message asking if my printer is offline?. Trying to print from Netscape I get lpr:connect Connection refused. Jobs queued but cannot start daemon. If you are using a parallel port printer, did you remember to enable parallel port support in the kernel (strangely, I think it is off be default)? Recompiled kernel again this morning with parallel support checked. I'm almost positive it was on last compile as well. But I still have problems. When I boot up I get message: lp no devices found. I'm wondering if I could have chosen something else in menuconfig that would interfere with parallel printing but if so I sure can't figure out what it is. What do your /proc/modules and /proc/devices say? --mike
Can't print after kernel compile
Hi, I installed Debian from binaries about a year ago. Today I finally compiled from the source code. Most everything seems fine except for printing. Using lpq I get message asking if my printer is offline?. Trying to print from Netscape I get lpr:connect Connection refused. Jobs queued but cannot start daemon. And yet a ps -aux | grep lpd shows 2 copies running. I can kill one but problem remains. Any ideas? Could I have set up something incorrectly in kernel? Thanks in advance for your help. Ken
Re: Can't print after kernel compile
On Thu, 16 Aug 2001, Ken Januski wrote: Hi, I installed Debian from binaries about a year ago. Today I finally compiled from the source code. Most everything seems fine except for printing. Using lpq I get message asking if my printer is offline?. Trying to print from Netscape I get lpr:connect Connection refused. Jobs queued but cannot start daemon. If you are using a parallel port printer, did you remember to enable parallel port support in the kernel (strangely, I think it is off be default)? And yet a ps -aux | grep lpd shows 2 copies running. I can kill one but problem remains. One of those may have been the grep process itself. Any ideas? Could I have set up something incorrectly in kernel? Just the one above. Good luck. Britton
Re: help: can't print
Wayne Topa wrote: Am I right in concluding that there is a problem sending information out my parralel port as even directly writing to /dev/lp0 doesn't even print garbage or make printer noises? If you are using lilo to boot then you might try adding this to your lilo.conf Image = /boot/kernel-2.4.5 # 5/27/01 Netfilter lots of modules root= /dev/hda1 label = current VGA = 0x31A append = lp=parport0 parport=0x378,none You do have lpr or lprng or cups installed, right? You have installed magicfilter, right? -- I do have lprng and magicfilter installed, and re-ran magicfilterconfig. I added append =lpnone to lilo.conf and ran lilo. Things have changed. Now 'cat text_file /dev/lp0' gives the message /dev/lp0:Device or resource busy instead of doing nothing at all. Similarly lpr text_file still does nothing but now lpq also informes me that /dev/lp0:Device or resource busy. Still no sounds from my printer. Any help with how to proceed or which part of the printing system I should try to learn more about would be appreciated. OK, lets check the obvious, file permissions. This is what my permissions are VT1 root-2.2r3-prince:~# ls -l /var/spool/lpd drwxrwsr-x2 lp lp 2048 Jun 20 10:22 lp VT1 root-2.2r3-prince:~# ls -l /var/spool/lpd/lp -rw-r--r--1 root lp 30 Jun 19 21:20 lock -rw-rw-r--1 root lp 25 Jun 19 21:20 status Lets see if you have enabled the printer in the kernel grep -i printer /usr/src/linux/.config CONFIG_PRINTER=y and the Parport selections VT2 root-2.2r3-prince:/etc/init.d# grep -i parport /usr/src/linux/.config CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PARPORT_PC_FIFO=y (not really required) and last but not least, read through the following in /usr/doc/HOWTO/en-txt/ Printing-HOWTO.txt.gz and Printing-Usage-HOWTO.txt.gz I need to leave my printing problem for a couple of weeks, but will keep trying when I return. Thank you very much for taking the time to help me work through this. Norbert
re: help: can't print
---BeginMessage--- Wayne Topa wrote: Am I right in concluding that there is a problem sending information out my parralel port as even directly writing to /dev/lp0 doesn't even print garbage or make printer noises? If you are using lilo to boot then you might try adding this to your lilo.conf Image = /boot/kernel-2.4.5 # 5/27/01 Netfilter lots of modules root= /dev/hda1 label = current VGA = 0x31A append = lp=parport0 parport=0x378,none You do have lpr or lprng or cups installed, right? You have installed magicfilter, right? -- I do have lprng and magicfilter installed, and re-ran magicfilterconfig. I added append =lpnone to lilo.conf and ran lilo. Things have changed. Now 'cat text_file /dev/lp0' gives the message /dev/lp0:Device or resource busy instead of doing nothing at all. Similarly lpr text_file still does nothing but now lpq also informes me that /dev/lp0:Device or resource busy. Still no sounds from my printer. Any help with how to proceed or which part of the printing system I should try to learn more about would be appreciated. Norbert ---End Message---
Re: help: can't print
Subject: Re: help: can't print Date: Wed, Jun 20, 2001 at 11:13:06PM -0700 In reply to:Norbert Froese Quoting Norbert Froese([EMAIL PROTECTED]): Wayne Topa wrote: Am I right in concluding that there is a problem sending information out my parralel port as even directly writing to /dev/lp0 doesn't even print garbage or make printer noises? If you are using lilo to boot then you might try adding this to your lilo.conf Image = /boot/kernel-2.4.5 # 5/27/01 Netfilter lots of modules root= /dev/hda1 label = current VGA = 0x31A append = lp=parport0 parport=0x378,none You do have lpr or lprng or cups installed, right? You have installed magicfilter, right? -- I do have lprng and magicfilter installed, and re-ran magicfilterconfig. I added append =lpnone to lilo.conf and ran lilo. Things have changed. Now 'cat text_file /dev/lp0' gives the message /dev/lp0:Device or resource busy instead of doing nothing at all. Similarly lpr text_file still does nothing but now lpq also informes me that /dev/lp0:Device or resource busy. Still no sounds from my printer. Any help with how to proceed or which part of the printing system I should try to learn more about would be appreciated. OK, lets check the obvious, file permissions. This is what my permissions are VT1 root-2.2r3-prince:~# ls -l /var/spool/lpd drwxrwsr-x2 lp lp 2048 Jun 20 10:22 lp VT1 root-2.2r3-prince:~# ls -l /var/spool/lpd/lp -rw-r--r--1 root lp 30 Jun 19 21:20 lock -rw-rw-r--1 root lp 25 Jun 19 21:20 status Lets see if you have enabled the printer in the kernel grep -i printer /usr/src/linux/.config CONFIG_PRINTER=y and the Parport selections VT2 root-2.2r3-prince:/etc/init.d# grep -i parport /usr/src/linux/.config CONFIG_PARPORT=y CONFIG_PARPORT_PC=y CONFIG_PARPORT_PC_FIFO=y (not really required) and last but not least, read through the following in /usr/doc/HOWTO/en-txt/ Printing-HOWTO.txt.gz and Printing-Usage-HOWTO.txt.gz Its early in the morning so I hope I have covered everything. NOTE: Please reply to the list, not directly to me. Others may have a similar problem and these exchanges may benefit them as well. I do read all mail sent to the list. Regards Wayne -- You know you've been spending too much time on the computer when your friend misdates a check, and you suggest adding a ++ to fix it. ___
Re: help: can't print
Subject: help: can't print Date: Mon, Jun 18, 2001 at 03:35:36PM -0700 In reply to:Norbert Froese Quoting Norbert Froese([EMAIL PROTECTED]): I don't know how to proceed. Any suggestions would be appreciated. There is no action at all from my printer no matter what I do in Debian Linux. As root, 'cat text_file /dev/lp0' hangs but nothing happens at the printer my cmos parallel port settings are SSP ( as opposed to EPP,ECP or EPPECP) and port 378,irq7 parport and lp support are compiled in the kernel the relevant dmesg output is: parport0: PC-style at 0x378 [PCSPP, TRISTATE] parport0: cpp_daisy: aa5500ff(10) parport0: assign_addrs: aa5500ff(10) parport0: Printer, EPSON Stylus COLOR 777 lp0: using porport0 (poling). Am I right in concluding that there is a problem sending information out my parralel port as even directly writing to /dev/lp0 doesn't even print garbage or make printer noises? How can I narrow down where the problem is? The kernel seems to know about my parallel port and have the address right. My printer (epson 777) and cable are OK as they work with windows booted. If you are using lilo to boot then you might try adding this to your lilo.conf Image = /boot/kernel-2.4.5 # 5/27/01 Netfilter lots of modules root= /dev/hda1 label = current VGA = 0x31A append = lp=parport0 parport=0x378,none You do have lpr or lprng or cups installed, right? You have installed magicfilter, right? -- Hit any user to continue. ___
help: can't print
I don't know how to proceed. Any suggestions would be appreciated. There is no action at all from my printer no matter what I do in Debian Linux. As root, 'cat text_file /dev/lp0' hangs but nothing happens at the printer my cmos parallel port settings are SSP ( as opposed to EPP,ECP or EPPECP) and port 378,irq7 parport and lp support are compiled in the kernel the relevant dmesg output is: parport0: PC-style at 0x378 [PCSPP, TRISTATE] parport0: cpp_daisy: aa5500ff(10) parport0: assign_addrs: aa5500ff(10) parport0: Printer, EPSON Stylus COLOR 777 lp0: using porport0 (poling). Am I right in concluding that there is a problem sending information out my parralel port as even directly writing to /dev/lp0 doesn't even print garbage or make printer noises? How can I narrow down where the problem is? The kernel seems to know about my parallel port and have the address right. My printer (epson 777) and cable are OK as they work with windows booted. Thanks Norbert
Re: help: can't print
On Mon, 18 Jun 2001, Norbert Froese wrote: I don't know how to proceed. Any suggestions would be appreciated. I'm far from being an expert but have you tried something like magicfilterconfig? It worked for me. Good luck, Andrew -- Andrew Overholt EngSci 0T3 Junior Bnad Leedur of the Lady Godiva Memorial Bnad ERTW
Re: can't print from acroread
Hi, everyone. The problem I was having mid March is finally solved. I started this thread on Mar 16 having the problem of, though being able to print fine from the command line, not being able to print internally from applications such as acroread. Though this problem (which appears to be related to the printer filter I was using with lprng) was never solved itself, I, for another reason, switched over to using the printer filter provided by a program called 'ifhp' which uses the lprng spooler. Other than simply being better than the filter I was using previously, it also magically fixed the problem I was having of not being able to print from within various applications. Possibly this may also help someone else experiencing similar problems. Paul -In response to your message- --received from Erdmut Pfeifer-- thanks for the clear report. From this debugging information and a quick look at the lprng source, I would say that the problem occurs while trying to fork/exec the so-called input filter, though I do not yet have a clear idea why it fails... The waitpid(2) call returns a -1, which indicates that the waitpid failed. Actually, there are three error/return codes involved here: the exit code of the waited-for child process (the filter), the return code of the waitpid function itself, and in case the latter returns -1, the errno being set by waitpid, which _might_ provide further details on what went wrong (not sure whether it really would in this case, though). Unfortunately, this error number doesn't seem to make it to the debugging logs (or else we should see another diff) -- the -1 appears to be propagated to the logs instead. Although it would generally be easy to add another printf() to the lprng code, outputting the errno, I assume that you would rather avoid having to recompile the code and having to make sure that the modified version gets installed in the appropriate place. I guess we should do things like these as a last resort only. Instead we might try to apply the same wrap a script-technique here as well, by substituting a script for the filter program run by lprng. The script could output a few interesting things like command line args, environment, the errno in question, etc. before/after running the filter... There is a faint hope that something will differ here... :) First, however, I'd like to take a look at the full logs available already, so feel free to send them to me privately. In particular, I'm not sure yet as to how the other diff (the fd-0..5 vs. fd-0..8 thing) is related to the waitpid error ocurring later on. Maybe that is the real place where things start to go wrong. The complete logs will make it easier to dig through the appropriate portions of the source. Also, I'd like to take a look at your printcap file (especially the if-specification which is in effect for the printer in question), so be sure to attach that as well. BTW, which printer are you using -- is it a native postscript printer, or are you using ghostscript as a filter? If you haven't done so already, you might also want to try to run your test script from the command line but in the background. This might help to rule out issues with a controlling terminal being required by the filter. Don't know why it would need one, but who knows ... just an idea. Erdmut PS: I cannot promise to be able to take a closer look at this immediately, but I _will_ as soon as time permits. After all, getting a deeper understanding of the lprng mechanics might help me to eventually solve a somewhat similar problem I'm experiencing myself sporadically ;)
Re: can't print from acroread
On Fri, Mar 23, 2001 at 01:20:10PM -0800, peanut butter wrote: (...) To really simplify things while exposing the basic problem, I saved the pdf from acroread as a postscript file. I then wrote one script that prints this postscript file with the lpr -D5 option saving the output to one file while recording the returned status from lpr to another. I then ran this exact same command once from the command line and once from within acroread. Now, mind you, the script accepts no input arguments . . . so the execution of the script is exactly the same, printing the exact same postscript file, while printing correctly from one execution (command line) yet not from the other (acroread). good idea... I can offer the full debug report from either or both runs to anyone who should care to view it/them but in attempt to keep things as concise as possible, just below is the segment from both reports where they begin to deviate. thanks for the clear report. From this debugging information and a quick look at the lprng source, I would say that the problem occurs while trying to fork/exec the so-called input filter, though I do not yet have a clear idea why it fails... The waitpid(2) call returns a -1, which indicates that the waitpid failed. Actually, there are three error/return codes involved here: the exit code of the waited-for child process (the filter), the return code of the waitpid function itself, and in case the latter returns -1, the errno being set by waitpid, which _might_ provide further details on what went wrong (not sure whether it really would in this case, though). Unfortunately, this error number doesn't seem to make it to the debugging logs (or else we should see another diff) -- the -1 appears to be propagated to the logs instead. Although it would generally be easy to add another printf() to the lprng code, outputting the errno, I assume that you would rather avoid having to recompile the code and having to make sure that the modified version gets installed in the appropriate place. I guess we should do things like these as a last resort only. Instead we might try to apply the same wrap a script-technique here as well, by substituting a script for the filter program run by lprng. The script could output a few interesting things like command line args, environment, the errno in question, etc. before/after running the filter... There is a faint hope that something will differ here... :) First, however, I'd like to take a look at the full logs available already, so feel free to send them to me privately. In particular, I'm not sure yet as to how the other diff (the fd-0..5 vs. fd-0..8 thing) is related to the waitpid error ocurring later on. Maybe that is the real place where things start to go wrong. The complete logs will make it easier to dig through the appropriate portions of the source. Also, I'd like to take a look at your printcap file (especially the if-specification which is in effect for the printer in question), so be sure to attach that as well. BTW, which printer are you using -- is it a native postscript printer, or are you using ghostscript as a filter? If you haven't done so already, you might also want to try to run your test script from the command line but in the background. This might help to rule out issues with a controlling terminal being required by the filter. Don't know why it would need one, but who knows ... just an idea. Erdmut PS: I cannot promise to be able to take a closer look at this immediately, but I _will_ as soon as time permits. After all, getting a deeper understanding of the lprng mechanics might help me to eventually solve a somewhat similar problem I'm experiencing myself sporadically ;) -- Erdmut Pfeifer science+computing ag -- Bugs come in through open windows. Keep Windows shut! --
Re: can't print from acroread
Ok, here's some preliminary information to this problem I'm still experiencing with a pdf not printing from the acroread application. Erdmut Pfeifer gave an excellent suggestion below to which I dedicated a few hours. In short: make a script that gets executed as the the print command from within acroread. The script ls's the temp file that acroread creates and sends to the print command, copies it to a non-automatically-deleted file, tries printing the temp file itself and catches the return code from lpr. Here's some inital results: The script works beautifully although the print fails just as well when executed by the script as when by a typical print command both from within acroread. Indeed the status of the failed print command is captured though only offering, in my knowledge, a very vague return status of 255. To un-vague-ify this as best I could, I made one significant addition to the script of adding the -D5 option of lpr to offer verbose debugging information. This finally starts to get me somewhere but not so far as to completely understand and solve the whatever's really going on. To really simplify things while exposing the basic problem, I saved the pdf from acroread as a postscript file. I then wrote one script that prints this postscript file with the lpr -D5 option saving the output to one file while recording the returned status from lpr to another. I then ran this exact same command once from the command line and once from within acroread. Now, mind you, the script accepts no input arguments . . . so the execution of the script is exactly the same, printing the exact same postscript file, while printing correctly from one execution (command line) yet not from the other (acroread). I can offer the full debug report from either or both runs to anyone who should care to view it/them but in attempt to keep things as concise as possible, just below is the segment from both reports where they begin to deviate. Notice in about the middle of the segments (sixth line), there is a line that reads . . . lpr lp: plp_waitpid: report . . . . In the bad report, report is followed by -1. In the good one, report is followed by the PID (what I suppose is a child process of lpr) mentioned on the line just before it. In the failed print case, things go bad from here onward and shortly end while things continue on another 80,000 lines or so in the successful print case. The unfortunate thing is that this doesn't tell me much. I'm hoping it may say something more to one of you likely more knowledgeable people on the list. --- lpr debug report from script when run from acroread --- . . . 2001-03-23-12:32:19.397 isengard [6420] lpr lp: Write_outbuf_to_OF: read status 0, read 0, '' 2001-03-23-12:32:19.397 isengard [6420] lpr lp: Write_outbuf_to_OF: no more reading 2001-03-23-12:32:19.397 isengard [6420] lpr lp: Write_outbuf_to_OF: waiting 0 secs for pid 6422, suspend 0 2001-03-23-12:32:19.398 isengard [6420] lpr lp: Wait_for_pid: name 'IF', pid 6422, suspend 0, timeout 0 2001-03-23-12:32:19.398 isengard [6420] lpr lp: plp_waitpid: pid 6422, options 2 2001-03-23-12:32:19.398 isengard [6420] lpr lp: plp_waitpid: report -1, status exit status 0 (JSUCC) 2001-03-23-12:32:19.398 isengard [6420] lpr lp: Wait_for_pid: pid -1 exit status 'exit status 0 (JSUCC)' 2001-03-23-12:32:19.398 isengard [6420] lpr lp: Wait_for_pid: returning 'UNKNOWN STATUS '-1'', exit status 'exit status 0 (JSUCC)' 2001-03-23-12:32:19.398 isengard [6420] lpr lp: setstatus: IF filter problems, error 'UNKNOWN STATUS '-1'' 2001-03-23-12:32:19.398 isengard [6420] lpr lp: Add_line_list: 'IF filter problems, error 'UNKN...', sep 'NULL', sort 0, uniq 0 2001-03-23-12:32:19.398 isengard [6420] lpr lp: cleanup: signal No signal, Errorcode -1, exits 1 . . . -- lpr debug report from script when run from commandline -- . . . 2001-03-23-12:31:23.605 isengard [6409] lpr lp: Write_outbuf_to_OF: read status 0, read 0, '' 2001-03-23-12:31:23.605 isengard [6409] lpr lp: Write_outbuf_to_OF: no more reading 2001-03-23-12:31:23.605 isengard [6409] lpr lp: Write_outbuf_to_OF: waiting 0 secs for pid 6411, suspend 0 2001-03-23-12:31:23.605 isengard [6409] lpr lp: Wait_for_pid: name 'IF', pid 6411, suspend 0, timeout 0 2001-03-23-12:31:23.605 isengard [6409] lpr lp: plp_waitpid: pid 6411, options 2 2001-03-23-12:31:23.606 isengard [6409] lpr lp: plp_waitpid: report 6411, status exit status 0 (JSUCC) 2001-03-23-12:31:23.606 isengard [6409] lpr lp: Wait_for_pid: pid 6411 exit status 'exit status 0 (JSUCC)' 2001-03-23-12:31:23.606 isengard [6409] lpr lp: Wait_for_pid: IF filter exited with status 0 2001-03-23-12:31:23.606 isengard [6409] lpr lp: Wait_for_pid: returning 'JSUCC', exit status 'exit status 0 (JSUCC)'
Re: can't print from acroread
peanut butter [EMAIL PROTECTED] writes: so the execution of the script is exactly the same, printing the exact same postscript file, while printing correctly from one execution (command line) yet not from the other (acroread). In cases where the same thing acts differently from different programs, I usually suspect the environment. Add env to your script, and see what differs. I don't know offhand what it could be, but it's worth a try. -- Alan Shutko [EMAIL PROTECTED] - In a variety of flavors! We read to say that we have read.
Re: can't print from acroread
In cases where the same thing acts differently from different programs, I usually suspect the environment. Add env to your script, and see what differs. I don't know offhand what it could be, but it's worth a try. -- Alan Shutko [EMAIL PROTECTED] - In a variety of flavors! We read to say that we have read. Great idea although nothing immediately jumps out at me as to what concerning the differences could cause the print failure. The differences were entirely environmental variables that were present in the environment coming from acroread yet absent in mine. Thus, I defined these extra environmental variables in my current shell environment and tried the same script from the command line. It still printed fine. Here's results of a diff between acroread's environment and mine, respectively: 2d1 ACRO_ARG0=/usr/bin/X11/acroread 4d2 LD_LIBRARY_PATH=/usr/lib/Acrobat4/Reader/intellinux/lib:/usr/lib/Acrobat4/Reader/intellinux/lib 10,11d7 XKEYSYMDB=/usr/lib/Acrobat4/Reader/intellinux/lib/XKeysymDB XFILESEARCHPATH=/usr/lib/Acrobat4/Reader/intellinux/%T/%L/%N%S:/usr/lib/Acrobat4/Reader/intellinux/%T/%l/%N%S:/usr/lib/Acrobat4/Reader/intellinux/%T/%N%S16d11 PSRESOURCEPATH=/home/py/psres:/home/py/fonts:/usr/psres:/usr/lib/Acrobat4/Reader/intellinux/fonts:/usr/lib/Acrobat4/Reader/../Resource/Encoding:/usr/lib/Acrobat4/Reader/../Resource/CMap:: 19c14 ACRO_INSTALL_DIR=/usr/lib/Acrobat4/Reader --- _=/usr/bin/env 25d19 ACRO_CONFIG=intellinux 28d21 _=/usr/bin/env Thanks for the suggestion, Paul -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
Not sure if this will help, but... I have the same symptom. I tried to print from acroread and nothing happened. I ended up shutting down after that. The next time I booted the system I discovered that I was unable to print from any application, and my cpu was pinned. I noticed that the process sucking most of the cpu was gs. After killing gs the cpu went to normal and printing resumed. Hope that's a hint. Cheers, Steve peanut butter wrote: Hi, I'm using lprng with filter /etc/magicfilter/ljet4-filter to an HP Laserjet 5M printer. Though things print fine from the command line, if I open a pdf with acroread, nothing prints when clicking the print button from within the application. A pop-up window will appear saying that the print job has been submitted and it will sequentially course through each page number of the document giving every sign that things should be printing yet nothing ever appears in the print queue, nothing ever comes out of the printer and an error message never shows up in any system log file (that I've ever checked, anyhow). Supposing this is too specific a problem for anyone to immediately have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? Thanks. -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== == -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
can't print from acroread
Hi, I'm using lprng with filter /etc/magicfilter/ljet4-filter to an HP Laserjet 5M printer. Though things print fine from the command line, if I open a pdf with acroread, nothing prints when clicking the print button from within the application. A pop-up window will appear saying that the print job has been submitted and it will sequentially course through each page number of the document giving every sign that things should be printing yet nothing ever appears in the print queue, nothing ever comes out of the printer and an error message never shows up in any system log file (that I've ever checked, anyhow). Supposing this is too specific a problem for anyone to immediately have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? Thanks. -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? What is the result if after trying to print you make an lpq, can you see your job in the queue? Regards Roberto Roberto Diaz [EMAIL PROTECTED] http://vivaldi.ddts.net Powered by ddt dynamic DNS Powered by GNU running on a Linux kernel. Powered by Debian (The real wonder) Concerto Grosso Op. 3/8 A minor Antonio Vivaldi (so... do you need beautiful words?)
Re: can't print from acroread
Supposing this is too specific a problem for anyone to immediately have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? And.. what is your printer command you have selected in acroread? Regards Roberto Roberto Diaz [EMAIL PROTECTED] http://vivaldi.ddts.net Powered by ddt dynamic DNS Powered by GNU running on a Linux kernel. Powered by Debian (The real wonder) Concerto Grosso Op. 3/8 A minor Antonio Vivaldi (so... do you need beautiful words?)
Re: can't print from acroread
On Fri, Mar 16, 2001 at 11:18:00AM -0800, peanut butter wrote: Hi, I'm using lprng with filter /etc/magicfilter/ljet4-filter to an HP Laserjet 5M printer. Though things print fine from the command line, if I open a pdf with acroread, nothing prints when clicking the print button from within the application. A pop-up window will appear saying that the print job has been submitted and it will sequentially course through each page number of the document giving every sign that things should be printing yet nothing ever appears in the print queue, nothing ever comes out of the printer and an error message never shows up in any system log file (that I've ever checked, anyhow). Supposing this is too specific a problem for anyone to immediately have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? can you print the file in question if you have acroread direct its output to a file, which you then send to the printer manually? Can you view the resulting PS-file in ghostscript? Erdmut -- Erdmut Pfeifer science+computing ag -- Bugs come in through open windows. Keep Windows shut! --
Re: can't print from acroread
* peanut butter [EMAIL PROTECTED], 20010316 21:08 +0100: Hi, I'm using lprng with filter /etc/magicfilter/ljet4-filter to an HP Laserjet 5M printer. Though things print fine from the command line, if I open a pdf with acroread, nothing prints when clicking the print button from within the application. Not sure if I can help you... Is lprng in the print dialog window's command line (/usr/bin/lpr here)? Did you try to specify a printer explicitely (-P)? Did you try to print to a file? Does it work from xpdf? Another wild guess, but why not: Try PS Level 1, specified in Acroread's prefs, or by piping through ps2ps -dLanguageLevel=1. Andre Berger[EMAIL PROTECTED]
Re: can't print from acroread
can you print the file in question if you have acroread direct its output to a file, which you then send to the printer manually? Can you view the resulting PS-file in ghostscript? Yes to both. Sorry not to mention this right off. I mentioned this the first time I attempted to post this message but apparently wasn't yet fully subscribed and neglected to save myself a copy. If I save the file as a postscript from the acroread print pop-up window, I can print the job without a problem from the command line and, thus, to no surprise, can also correctly display it with gv. Thus, the job seems to somehow never be making it outside acroread. In trying to diagnose the problem, I tried using another printer that I didn't realize hadn't been configured for the system by changing the printer command to /usr/bin/lpr -Plex. I received the same print error message I would have received from lprng if I had tried this from the command line yet it was displayed within a pop-up window from acroread. So obviously acroread is talking to lprng to some degree. -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
On Fri, 16 Mar 2001, peanut butter wrote: What is the result if after trying to print you make an lpq, can you see your job in the queue? Due to the problem, I discovered printop which graphically monitors printers and queues run by lprng. Nothing ever appears in the queue as far as I can tell. When the printer was busy printing another user's job, I started something from the command line just to ensure I could see something. Sure enough, one job waiting. Then tried the job again from with in acroread. The second job never appeared. And how do you print from a shell... are you using lpr or lpr -Pnameofprinter? And.. what is your printer command you have selected in acroread? In the printer command field is /usr/bin/lpr. It could be some problems with the name of your default queue? Regards Roberto Roberto Diaz [EMAIL PROTECTED] http://vivaldi.ddts.net Powered by ddt dynamic DNS Powered by GNU running on a Linux kernel. Powered by Debian (The real wonder) Concerto Grosso Op. 3/8 A minor Antonio Vivaldi (so... do you need beautiful words?)
Re: can't print from acroread
On Fri, Mar 16, 2001 at 11:18:00AM -0800, peanut butter wrote: Hi, I'm using lprng with filter /etc/magicfilter/ljet4-filter to an HP Laserjet 5M printer. Though things print fine from the command line, if I open a pdf with acroread, nothing prints when clicking the print button from within the application. A pop-up window will appear saying that the print job has been submitted and it will sequentially course through each page number of the document giving every sign that things should be printing yet nothing ever appears in the print queue, nothing ever comes out of the printer and an error message never shows up in any system log file (that I've ever checked, anyhow). Supposing this is too specific a problem for anyone to immediately have an idea as to the cause, can anyone at least suggest some manner at which to attempt to trace what's going on here and where the failure is occurring? Just a guess, but I had a similar problem with only certain .pdf documents. The error light on my Lexmark Optra E312 would flash when lpr was sending data to the printer and nothing was printed although there were no error messages. I used pdftops to convert the file to .ps and noticed that the first line said %!PS-Adobe-3.0. My printer only handles PS level 2, so I believe this was the problem. I think it had something to do with the way the document was created and neither acroread nor pdftops could convert to level 2 postscript, although I had selected level 2 in the acroread print dialog box. Bob
Re: can't print from acroread
Not sure if I can help you... Is lprng in the print dialog window's command line (/usr/bin/lpr here)? Did you try to specify a printer explicitely (-P)? Did you try to print to a file? Does it work from xpdf? Another wild guess, but why not: Try PS Level 1, specified in Acroread's prefs, or by piping through ps2ps -dLanguageLevel=1. Andre Berger[EMAIL PROTECTED] Hi, many of these questions are answered in responses to Roberto's and Erdmut's messages. Unfortunately, I failed to also post the list on my reponse to Roberto so if I can't rectify this soon, I'll address these questions, again. I tried your PS level 1 suggestion. It still would not print directly from acroread using this option. I don't know if this also satisfies your pipe to ps2ps suggestion. If not, I'm not quite understanding the suggestion. Thanks, again. Paul -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
On Fri, 16 Mar 2001, Roberto Diaz wrote: What is the result if after trying to print you make an lpq, can you see your job in the queue? Due to the problem, I discovered printop which graphically monitors printers and queues run by lprng. Nothing ever appears in the queue as far as I can tell. When the printer was busy printing another user's job, I started something from the command line just to ensure I could see something. Sure enough, one job waiting. Then tried the job again from with in acroread. The second job never appeared. And.. what is your printer command you have selected in acroread? In the printer command field is /usr/bin/lpr. -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
-In response to your message- --received from Bob Nielsen-- Just a guess, but I had a similar problem with only certain .pdf documents. The error light on my Lexmark Optra E312 would flash when lpr was sending data to the printer and nothing was printed although there were no error messages. I used pdftops to convert the file to .ps and noticed that the first line said %!PS-Adobe-3.0. My printer only handles PS level 2, so I believe this was the problem. I think it had something to do with the way the document was created and neither acroread nor pdftops could convert to level 2 postscript, although I had selected level 2 in the acroread print dialog box. Bob Well, I've saved the file to postscript using acroread and, alas, the first line also reads %!PS-Adobe-3.0 yet I can print it fine from the command line . . . things just won't print from acroread. Thus, it's not terribly impeding but I would be happy to solve the mystery and get the user who is complaining of this off my back. If it prints from the command line, I see no reason why it shouldn't print from acroread. -- Paul Yeatman (858) 534-9896[EMAIL PROTECTED] == ==Proudly brought to you by Mutt== ==
Re: can't print from acroread
On Fri, Mar 16, 2001 at 01:01:31PM -0800, peanut butter wrote: can you print the file in question if you have acroread direct its output to a file, which you then send to the printer manually? Can you view the resulting PS-file in ghostscript? Yes to both. Sorry not to mention this right off. I mentioned this the first time I attempted to post this message but apparently wasn't yet fully subscribed and neglected to save myself a copy. If I save the file as a postscript from the acroread print pop-up window, I can print the job without a problem from the command line and, thus, to no surprise, can also correctly display it with gv. Thus, the job seems to somehow never be making it outside acroread. In trying to diagnose the problem, I tried using another printer that I didn't realize hadn't been configured for the system by changing the printer command to /usr/bin/lpr -Plex. I received the same print error message I would have received from lprng if I had tried this from the command line yet it was displayed within a pop-up window from acroread. So obviously acroread is talking to lprng to some degree. well, this is really a little strange... Perhaps you might want to try the following to get some more information: Write a shell script something like #!/bin/sh ls -l $1 /tmp/acroprint-debug.$$ cp $1 /tmp/acroprint-out.$$ /usr/bin/lpr -Pprinter $1 # substitute your printer here echo $? /tmp/acroprint-debug.$$ (the .$$ are not required, they just create a seperate pair of files for each try, with the PID appended) and run this instead of the /usr/bin/lpr from acroread's print dialogbox (e.g. Printer Command: /home/name/test-print -- no further options) This should (a) give you some info about the temp-file that acroread creates (- ls) (b) copy the temp-file to a safe place, before it gets deleted (- cp) (c) try to run the actual print command -- maybe it works from here (d) capture the return code of the print command -- should be 0 if OK Then you can also compare the /tmp/acroprint-out with the file you created when printing directly to a file from within the dialogbox. I guess both files should be identical. Also, feel free to add other debugging commands you could think of to the script... Don't know whether it helps ;) Erdmut -- Erdmut Pfeifer science+computing ag -- Bugs come in through open windows. Keep Windows shut! --
Re: can't print from acroread
On Fri, Mar 16, 2001 at 01:34:45PM -0800, Bob Nielsen wrote: I had a similar problem with only certain .pdf documents. The error light on my Lexmark Optra E312 would flash when lpr was sending data to the printer and nothing was printed although there were no error messages. I used pdftops to convert the file to .ps and noticed that the first line said %!PS-Adobe-3.0. My printer only handles PS just a short note: contrary to what one might think, the 3.0 in %!PS-Adobe-3.0 does not refer to the PostScript language level. Instead it states that the PS document adheres to the Adobe DSC (document structuring conventions) version 3.0 (with versioning independent from the PS level). The DSC mainly specify the syntax and sematics of the %%-comments. Erdmut level 2, so I believe this was the problem. I think it had something to do with the way the document was created and neither acroread nor pdftops could convert to level 2 postscript, although I had selected level 2 in the acroread print dialog box. -- Erdmut Pfeifer science+computing ag -- Bugs come in through open windows. Keep Windows shut! --
Re: can't print from acroread
Thanks for the clarification. Bob On Sat, Mar 17, 2001 at 01:16:17AM +0100, Erdmut Pfeifer wrote: On Fri, Mar 16, 2001 at 01:34:45PM -0800, Bob Nielsen wrote: I had a similar problem with only certain .pdf documents. The error light on my Lexmark Optra E312 would flash when lpr was sending data to the printer and nothing was printed although there were no error messages. I used pdftops to convert the file to .ps and noticed that the first line said %!PS-Adobe-3.0. My printer only handles PS just a short note: contrary to what one might think, the 3.0 in %!PS-Adobe-3.0 does not refer to the PostScript language level. Instead it states that the PS document adheres to the Adobe DSC (document structuring conventions) version 3.0 (with versioning independent from the PS level). The DSC mainly specify the syntax and sematics of the %%-comments. Erdmut level 2, so I believe this was the problem. I think it had something to do with the way the document was created and neither acroread nor pdftops could convert to level 2 postscript, although I had selected level 2 in the acroread print dialog box.
Staroffice can't print to deskjet 840C
Hi, I use CUPS and I configure my Deskjet 840C. I print perfectly from any application, but from staroffice I can't print to it. Why? Someone has any idea about it? Is because Staroffice need to print to a postscript printer...and a Deskjet is not a Postscript printer Rogelio
Re: Staroffice can't print to deskjet 840C
On Sat, Nov 25, 2000 at 12:19:23AM -0600, Rogelio E. Castillo Haro wrote: Hi, I use CUPS and I configure my Deskjet 840C. I print perfectly from any application, but from staroffice I can't print to it. Why? Someone has any idea about it? Is because Staroffice need to print to a postscript printer...and a Deskjet is not a Postscript printer Think you've to setup with StarOffice Printer Setup a Generic Printer with lps as queue. Cu, Sven -- ACHTUNG! Aktuelle e-mail Adresse ist [EMAIL PROTECTED] == One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them
Re: Staroffice can't print to deskjet 840C
On Sáb 25 Nov 2000 07:19, Rogelio E. Castillo Haro wrote: Hi, I use CUPS and I configure my Deskjet 840C. I print perfectly from any application, but from staroffice I can't print to it. Why? Someone has any idea about it? Is because Staroffice need to print to a postscript printer...and a Deskjet is not a Postscript printer No!! Staroffice can print to non-postcript printers. I couldn't print on my epson stylus 1520 on a SO 5.2. What I did is to replace SO's ppd file with the one I was using with CUPS and everything works fine since then -- __ Daniel de los Reyes S2-Selling Soluciones Valencia Spain e-mail: [EMAIL PROTECTED] Powered by Debian GNU-Linux 2.2r0 __