|
|
|
@ -178,11 +178,11 @@ bool PixmapBarcode::createPixmap( TQPixmap* target, int resx, int resy )
|
|
|
|
|
cmd += input->name();
|
|
|
|
|
cmd += " -sNOPAUSE -q - -c showpage quit";
|
|
|
|
|
|
|
|
|
|
qDebug("cmd: " + cmd );
|
|
|
|
|
tqDebug("cmd: " + cmd );
|
|
|
|
|
gs_pipe = popen( cmd.latin1(), "w" );
|
|
|
|
|
if( !gs_pipe )
|
|
|
|
|
{
|
|
|
|
|
qDebug("ERROR: cannot open Ghostscript pipe!");
|
|
|
|
|
tqDebug("ERROR: cannot open Ghostscript pipe!");
|
|
|
|
|
cleanUp( input, target );
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
@ -210,7 +210,7 @@ bool PixmapBarcode::createPostscript( char** postscript, long* postscript_size )
|
|
|
|
|
if( Barkode::engineForType( barkode->type() ) == TBARCODE )
|
|
|
|
|
{
|
|
|
|
|
cmd = createTBarcodeCmd();
|
|
|
|
|
qDebug("tbarcodeclient commandline: %s", cmd.latin1() );
|
|
|
|
|
tqDebug("tbarcodeclient commandline: %s", cmd.latin1() );
|
|
|
|
|
}
|
|
|
|
|
else // GNU_BARCODE
|
|
|
|
|
*/
|
|
|
|
@ -267,7 +267,7 @@ bool PixmapBarcode::readFromPipe( const char* command, char** buffer, long* buff
|
|
|
|
|
FILE* pipe = popen( command, "r" );
|
|
|
|
|
if( !pipe )
|
|
|
|
|
{
|
|
|
|
|
qDebug("ERROR: cannot open pipe %s!", command );
|
|
|
|
|
tqDebug("ERROR: cannot open pipe %s!", command );
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -352,7 +352,7 @@ bool PixmapBarcode::createPdf417( KTempFile* output )
|
|
|
|
|
|
|
|
|
|
if( !options )
|
|
|
|
|
{
|
|
|
|
|
qDebug("No PDF417Options available!");
|
|
|
|
|
tqDebug("No PDF417Options available!");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|