[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    No one else having strange printing  problems?
From:       mh <crapsite () gmx ! net>
Date:       2001-02-07 12:25:41
[Download RAW message or body]

Hi,
I'm just wondering, whether I'm the only one having problems with printing
after an upgrade to Qt2.2.4 :-(
At least, I didn't see a thread related to this topic on the list.
Just two examples:
1. KWord
Create a new A4 size document with orientation "Portrait". Insert an
image in the upper left corner.
Now try to print it. Also choose orientation "Portrait" in the print dialog.
Result: nothing gets printed at all.
Try to print to a file. The file is created, but when you try to open it
in KGhostview, nothing is displayed.

Now try to print again and set the orientation to "Landscape" in the print
dialog (the documents orientation in KWord is still set to "Portrait"). Now
printing works just fine and also KGhostview is able to display the file.

2. Try the small example at the end of the mail.
Now the situation is somehow inversed. The example works, if the orientation
is set to "Portrait" in the print dialog. It doesn't work with orientation
"Landscape".

Now I tried to view one of the files under Win95 using GS Tools.
I get error messages like this:
---------------------------------------------------------
Aladdin Ghostscript 5.50 (1998-9-11)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file E:/Test1.ps
Displaying page 1
Unrecoverable error: syntaxerror in %ztokenexec_continue
Operand stack:
    --nostringval--  pageinit

--- Begin offending input ---

--- End offending input ---
file offset = 8675
gsdll_execute_cont returns -18
----------------------------------------------------------

At the moment, printing is almost a showstopper for me.
Can anyone please comment this?
(and sorry for the quite long posting)

bb
Michael


System: SuSE 7.0/KDE2.0.0/KDE1.1.2
Ghostscript 5.50
Qt2.2.4 tarball downloaded from
ftp.trolltech.com
----------------------------------------------------------
//example
//only works with orientation "Portrait" ???
#include <qapplication.h>
#include <qpainter.h>
#include <qprinter.h>

int main( int argc, char **argv )
{
  QApplication a( argc, argv );
  QPrinter prt;
  if ( prt.setup() )
  {
    QPainter p;
    p.begin( &prt );
    p.drawLine(0,0,100,100);
    p.end();
  }
  return 0;
}

>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic