Code::Blocks Forums

User forums => Help => Topic started by: Capt.Frito on September 27, 2012, 09:08:04 pm

Title: Printing problems, cups, gentoo linux
Post by: Capt.Frito on September 27, 2012, 09:08:04 pm
Hi All,

Having problems with Code::Blocks printing in Gentoo Linux -- several different machines, other applications printing fine.  Symptoms:  Acts like the paper is always A4 even though letter is selected (so a few lines are clipped, left/right margins are for A4).  After printing the first printing job is complete the console is consumed by an endless parade of IPP warnings.  With the the second print job the print settings dialog shows A4 (even though default = letter), and it won't allow setting to letter.  If a third print job is started, code::blocks crashes.

This is peculiar to code::blocks, and happens on three different machines and three different cups servers (one 32bit machine, one 64bit machine and one 32/64 multilib machine).  Printer is a networked Tektronix (aka Xerox) Phaser 6200DP over a socket and IPP.  Cups is 1.5.2.  Doesn't happen with Anjuta or gedit -- or anything else that I am aware of.

Any ideas?  Other info needed?

Title: Re: Printing problems, cups, gentoo linux
Post by: mingkoonkat on July 03, 2013, 06:23:24 pm
FWIW, I see the same symptoms on Ubuntu including the C::B crash 2nd print after changing A4 to letter, also some of the colour characters are misaligned so they print on top of each other (don’t know if that’s related to the issue mentioned above). I use C::B 12.11.

Title: Re: Printing problems, cups, gentoo linux
Post by: oBFusCATed on July 03, 2013, 06:25:45 pm
Does it work correctly if you print to PDF?
Title: Re: Printing problems, cups, gentoo linux
Post by: mingkoonkat on July 03, 2013, 06:36:06 pm
It does not appear to crash when I print for the 2nd time after changing A4 to letter, and when printing to a poscript file. However the colour characters nevertheless appear to be aligned on some weird offsets. I tried to attach the xxx.ps file but this website disallows attachment of this type of file.
Title: Re: Printing problems, cups, gentoo linux
Post by: oBFusCATed on July 03, 2013, 07:23:31 pm
Does it render fine if you print from sCiTe?
Also you can try if the wx printer samples print fine, but you'll have to build wxgtk yourself.

p.s. Attachments aren't very welcome here, because the forum space is a bit limited.