WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cups-pdf not printing; already error during chosing virtual printer in leafpad  (Read 7732 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
hello,
I installed cups-pdf and made the virtual printer setup.
I tried to make a print: by choosing the printer, an error appear, and no pdf is printed.
has somebody an idea what is going on here?

screenshot with the error message 
in leafpad http://imagebin.org/170008
and in cups browser http://imagebin.org/170009

Complement 11.09.2011: by trying to print out of leafpad, the print job stop with the error "empty print file!"
« Last Edit: September 11, 2011, 05:43:56 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Just to double-check, you are using cups-pdf with cups and not cups-pdf with cups1311?

Could you try to print from a terminal window using "lpr /path-to-file/filename" and copy/paste the errors you get.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Just to double-check, you are using cups-pdf with cups and not cups-pdf with cups1311?
I am loading cups-pdf. Then with the dep, I suppose cups is automatically loaded.
(for your other advice, I will try when I have a bit more time).
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
"lpr file.txt" bring the message
lpr: Error - no default destination available.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
You need to either set the printer as the default (one way to do this is to use the cups browser interface), or:
Code: [Select]
$ lpr -P printer_name file_name
« Last Edit: September 12, 2011, 01:36:42 AM by Juanito »

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
I made a "lpr -P Virtual_PDF_Printer file.txt", then
no errors happens.
the job in the cups-browser show has a state "completed" which is new (before, by printing out of leafpad it had the status "stopped, empty print file!").
I was searching the pdf file in home/temp: nothing is there.
(I modified cups-pdf.conf  from "Out /var/spool/cups-pdf/${USER}" in "Out ${HOME}/temp"   so, I was expecting to see the file in /home/tmp).
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
(I modified cups-pdf.conf  from "Out /var/spool/cups-pdf/${USER}" in "Out ${HOME}/temp"   so, I was expecting to see the file in /home/tmp).

It would appear in /home/tc/tmp, no? Is the file file.txt or file.pdf or file.txt.pdf anywhere under /var or /home?

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
I dont find the pdf anywhere (with the lpr command; despite no error appear). curious.
printing out of leafpad show the identical error (empty file).
« Last Edit: September 12, 2011, 04:22:57 AM by floppy »
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Does printing work on the same machine to an actual printer?

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
I never tried with TCL. I will (need few days) with an HP 4110 allinone (USB connection).
It worked before with Win98.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Hi:
I am getting the same error in Leafpad on all of my PCs:
"no default destination....."
after setting the printer as default this message disappered. I never was able to show a
print preview on screen from Leafpad. Although a preview worked with Abiword.

Some printer installations print via Leafpad others do not.
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Note that you'll most probably need hplip + cups for that..

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
I thought hplip is only required for HP printers?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Correct - there was an HP 4110 allinone mentioned..

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
hello Juanito,
no printing is possible (either pdf.. nor hp4110) from opera or from leafpad.
the lpr - P ..PDF command seems to work (status "completed") but no pdf file was created.
See different errors in the screenshot.
http://imagebin.org/172327
so.. I'm in the dark..
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed