Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 08:48
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PDF printer for puppy
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 7 [96 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
nic2109

Joined: 01 Jan 2007
Posts: 406
Location: Hayslope, near Middlemarch, Midlands, England

PostPosted: Sat 04 Aug 2007, 10:41    Post subject:  

This is all fine and dandy, but I cannot print the PDF once created as epdfview gives a "Segmentation fault" and crashes out.

See forum thread http://www.murga-linux.com/puppy/viewtopic.php?t=20377.

I'm on 217 with the hpijs drivers package.

It's got me foxed - and BarryK too possibly. Any ideas anyone?
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sat 04 Aug 2007, 18:51    Post subject:  

That doesn't seem to be anything to do with CUPS-pdf, but anyway - you might have to try a different pdf reader like Xpdf or something if you need to print while it isn't fixed.
Back to top
View user's profile Send private message 
nic2109

Joined: 01 Jan 2007
Posts: 406
Location: Hayslope, near Middlemarch, Midlands, England

PostPosted: Sun 05 Aug 2007, 10:28    Post subject:  

disciple wrote:
That doesn't seem to be anything to do with CUPS-pdf, but anyway - you might have to try a different pdf reader like Xpdf or something if you need to print while it isn't fixed.


I'm willing to try this, so how should I go about downloading and installing xpdf?

I cannot see it as either a PET or a DotPup package, while the website has scary comments about compiling and making and so on which make me want to run away (bravely).

Nick
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sun 05 Aug 2007, 18:42    Post subject:  

There are links to three versions at http://www.murga-linux.com/puppy/viewtopic.php?t=8727
Colonel Panic recommends Adobe Reader 5, but it was very troublesome for me and other people too.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Mon 13 Aug 2007, 23:56    Post subject:  

Also, if you install GTKLP, it can print pdf files - but only the whole file - not certain pages.

http://www.murga-linux.com/puppy/viewtopic.php?search_id=1922280903&t=17768

EDIT - it can print a selection of pages from a file - there is a space for extra options on the special tab. I've described some of them at http://puppylinux.org/wikka/Printing.

Last edited by disciple on Thu 06 Sep 2007, 01:35; edited 1 time in total
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sat 25 Aug 2007, 05:48    Post subject:  

This is interesting - Opera doesn't seem to like either CUPS, or the PDF writer.

BTW are we likely to see v0.4 sometime, or has something happened to it?
forum.jpg
 Description   
 Filesize   23.21 KB
 Viewed   1342 Time(s)

forum.jpg

Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 25 Aug 2007, 15:28    Post subject: CUPS and CUPS Pdf writer work in my Operas
Subject description: I think it's a configuration problem
 

I can confirm that Opera v. 8.01 and v. 9.10 work properly with CUPS and with the CUPS pdf writer. As I went through a few head-scratching months trying to get CUPS to work with my rather unpopular Xerox Phaser 3120, I have a suspicion that something is misconfigured. In my case, I had mistakenly overwritten two usblp files in /dev with some postscript files during an abortive CUPS configuration session. Once I identified and corrected that problem - and then chose an appropriate driver (not the easiest task) - everything regarding CUPS printing has gone swimmingly ever since.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sun 26 Aug 2007, 22:36    Post subject:  

Hmmm...
It seems like something funny must be going on with Opera (9.10) - I can't get it to print at all now, but other programs print fine.
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 30 Aug 2007, 13:56    Post subject:  

pdf-writer updated to version 0.6. Skipped 0.4 & 0.5 because of the amount of code reorganization done and the number of changes implemented.

New features (via config file)
1) Run in a console-only mode
2) Print job completion notification
3) Customize duration of notification
4) Customize notification type Full (inlcude path) or brief (filename only)

Changes
1) Config file renamed to ~/.pdfwriter.conf (NB hidden file)
2) Set correct permissions on config file
3) Reorganized code to better accommodate console only option
4) On xdialog gtk-warning or gtk-critical errors, exit gracefully but log to /var/log/messages reason and suggest usingconsole only mode
5) Sanity check - remove additional invalid characters in the filename entered by the user
6) Now works on other distros (at least on zenwalk)
7) Changed "Device URI" from pdf-writer:/export/share/pdf/ to pdf-writer:/dev/null since this is not used at all by the pdf-writer backend

Bug Fixes
1) Fixed problem determining home directory for non-root users
2) increased height of some dialog boxes as some text was being hidden depending on theme/wm used
3) Fixed prob when files were printed from stdin. The filename .pdf(....) was used as the default filename

To do
Create gui for managing preferences

~~~~~~~~~~~~
I've attached two files:

The first is the tar.gz cups-pdf backend script "pdf-writer". To test download and install with petget or "tar xvfz -C / pdf-writer.tar.gz"

The second is a WIP manual for cups-pdf/pdf-writer.

Once testing goes ok it will be packaged into a .pet.
cupspdf-doc.txt.gz
Description  cups-pdf | pdf-writer documentation
gz

 Download 
Filename  cupspdf-doc.txt.gz 
Filesize  2.03 KB 
Downloaded  626 Time(s) 
pdf-writer.tar.gz
Description  cups-pdf backend script
gz

 Download 
Filename  pdf-writer.tar.gz 
Filesize  2.53 KB 
Downloaded  607 Time(s) 
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Fri 31 Aug 2007, 14:38    Post subject: Version 6 works fine  

Dear jcoder,

On my machine, every one of your pdf writer incarnations worked fine, including the latest one. I hope you find time to do the preferences part, since I don't know how to get my gs to print out ascii files to pdf using a nice font. They all come out outlooking pretty ugly with a courier type face. I would much prefer dejavu mono. Do you know off hand where I can change the default (e.g. a config file)?

WIth thanks in advance,
vovchik
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Fri 31 Aug 2007, 18:52    Post subject:  

I don't think it desperately needs to work with spaces in the filename, but fixing that might be almost as easy as this:
If you select a directory with a space in the path, the job gets stuck in the queue and the printer goes offline as before. If you restart the job from CUPS, it gives you the location selection dialogue again, with the space replaced, and if you accept this location you get an error message and it prints it as /Using_the_fallback_C_locale..pdf
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Sun 02 Sep 2007, 13:27    Post subject:  

version 0.7

Changes
1) Changed preferences option USE_X to USE_XWINDOWS
2) Changed separator for preferences file to from space to ":" to accommodate MRUDs with spaces
3) Now prints to folders with spaces in their name
4) Now prints filename with spaces and
5) Added option in ~/.pdfwriter.conf for changing spaces to underscores
6) Some minor code fixes and clean up

Known Issues
Does not work correctly when printing the "Test Page" from the cups printer page. I'm looking into a universal fix for this (ie works on puppy and other distros).

NB
The documentation is to be updated to reflect these changes. BTW suggestions on additions/deletions/clarifications on the documentation is welcomed.
pdf-writer.tar.gz
Description  Version 0.7
Install with petget or "tar xvfz pdf-writer.tar.gz -C /"
gz

 Download 
Filename  pdf-writer.tar.gz 
Filesize  2.63 KB 
Downloaded  611 Time(s) 
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sun 02 Sep 2007, 18:02    Post subject:  

Great!

Quote:
suggestions on additions/deletions/clarifications on the documentation

Where you say to restart CUPS, maybe put in an example or two of how to do this (it's not always the same, is it?).
So I would do this in a terminal:
Code:
/etc/rc.d/rc.cups restart
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6378
Location: Auckland, New Zealand

PostPosted: Sun 02 Sep 2007, 19:42    Post subject:  

It mostly seems very good.
If I cancel a print (In 2.16.1), it prints it as "/Created Using the fallback C locale..pdf"

Also I think in the documentation you forgot to update the lpadmin command for /dev/null ?
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Sun 02 Sep 2007, 20:00    Post subject:  

I forgot to mention that you should remove the old preferences file before using the new version.

rm ~/.pdfwriter.conf
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 7 [96 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0777s ][ Queries: 13 (0.0105s) ][ GZIP on ]