[Scribus] Printing Troubles

Sunil Joshi pavansut
Mon Sep 29 04:18:52 CEST 2003


>
Hi Peter and Martin:
Thanks for both your notes.  In FINK, it only shows FLTK-X11.  I assume 
it is either X11-42 or 43.  Well, i tried your suggestions, and that 
didn't seem to help with installation of XPP.  So, I went ahead and 
downladed FLTK-1.1.3 and compiled it myself.  Then I tried to compile 
XPP-1.1, and as I mentioned before, I went as far as configure.  Past 
that, when i tried to run make, here is what i get.

> [JantarMantar:sjoshi/desktop/xpp-1.1] sjoshi# make
> /usr/local/bin/fluid -c mainwindow.fl
> c++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 
> -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 
> -DSTDC_HEADERS=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    
> -I/usr/X11R6/include  -g -O2 -c mainwindow.cxx
> In file included from mainwindow.h:10,
>                  from mainwindow.cxx:3:
> xpp.h:36:23: cups/cups.h: No such file or directory
> xpp.h:37:22: cups/ipp.h: No such file or directory
> xpp.h:38:27: cups/language.h: No such file or directory
> In file included from xpp.h:54,
>                  from mainwindow.h:10,
>                  from mainwindow.cxx:3:
> cupshelper.h:36:23: cups/cups.h: No such file or directory
> cupshelper.h:37:22: cups/ipp.h: No such file or directory
> In file included from xpp.h:54,
>                  from mainwindow.h:10,
>                  from mainwindow.cxx:3:
> cupshelper.h:60: warning: ISO C++ forbids declaration of `ipp_t' with 
> no type
> cupshelper.h:60: parse error before `*' token
> cupshelper.h:61: warning: ISO C++ forbids declaration of `ipp_t' with 
> no type
> cupshelper.h:61: parse error before `*' token
> cupshelper.h:61: duplicate member `CupsHelper::ipp_t'
> In file included from mainwindow.h:10,
>                  from mainwindow.cxx:3:
> xpp.h:92: syntax error before `*' token
> xpp.h:93: syntax error before `*' token
> xpp.h:104: syntax error before `*' token
> xpp.h:196: type specifier omitted for parameter `cups_option_t'
> xpp.h:196: parse error before `*' token
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_papersource_i(Fl_Choice*, void*)':
> mainwindow.cxx:88: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:96: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:96: `cupsAddOption' undeclared (first use this function)
> mainwindow.cxx:96: (Each undeclared identifier is reported only once 
> for each
>    function it appears in.)
> mainwindow.cxx:98: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:99: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:100: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_papersize_i(Fl_Choice*, void*)':
> mainwindow.cxx:119: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:127: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:129: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:130: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:131: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_papertype_i(Fl_Choice*, void*)':
> mainwindow.cxx:150: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:158: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:160: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:161: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:162: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_orientation_i(Fl_Choice*, void*)':
> mainwindow.cxx:177: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:181: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:183: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Page_i(Fl_Input*,
>    void*)':
> mainwindow.cxx:200: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:202: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Reverse_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:210: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:212: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Collate_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:220: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:222: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_pageset_i(Fl_Choice*, void*)':
> mainwindow.cxx:230: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:232: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_duplex_i(Fl_Choice*,
>    void*)':
> mainwindow.cxx:246: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:247: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_numberup_i(Fl_Choice*, void*)':
> mainwindow.cxx:263: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:265: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Characters_i(Fl_Counter*, void*)':
> mainwindow.cxx:295: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Lines_i(Fl_Counter*,
>    void*)':
> mainwindow.cxx:304: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Columns_i(Fl_Counter*, void*)':
> mainwindow.cxx:314: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:316: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Enhanced_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:324: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:326: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_defaultmargins_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:334: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:335: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:336: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:337: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_topmargin_i(Input_Slider*, void*)':
> mainwindow.cxx:349: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_bottommargin_i(Input_Slider*, void*)':
> mainwindow.cxx:360: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_leftmargin_i(Input_Slider*, void*)':
> mainwindow.cxx:371: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_rightmargin_i(Input_Slider*, void*)':
> mainwindow.cxx:382: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Brightness_i(Input_Slider*, void*)':
> mainwindow.cxx:394: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:396: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Gamma_i(Input_Slider*, void*)':
> mainwindow.cxx:407: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:409: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_imagepos_i(Fl_Choice*, void*)':
> mainwindow.cxx:417: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:419: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_imagesizetype_i(Fl_Choice*, void*)':
> mainwindow.cxx:440: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:441: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:442: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:446: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_imagesize_i(Input_Slider*, void*)':
> mainwindow.cxx:466: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:467: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:468: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:472: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Saturation_i(Input_Slider*, void*)':
> mainwindow.cxx:486: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:488: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Hue_i(Input_Slider*,
>    void*)':
> mainwindow.cxx:499: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:501: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Plot_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:509: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:511: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Fit_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:519: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:521: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Pen_i(Input_Slider*,
>    void*)':
> mainwindow.cxx:532: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:534: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_OK_i(Fl_Return_Button*, void*)':
> mainwindow.cxx:547: `class printFiles' has no member named `ppds'
> mainwindow.cxx:547: `ppdMarkDefaults' undeclared (first use this 
> function)
> mainwindow.cxx:548: `class printFiles' has no member named `ppds'
> mainwindow.cxx:548: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:548: `cupsMarkOptions' undeclared (first use this 
> function)
> mainwindow.cxx:550: `class printFiles' has no member named `dests'
> mainwindow.cxx:551: `class printFiles' has no member named `dests'
> mainwindow.cxx:551: `cupsFreeOptions' undeclared (first use this 
> function)
> mainwindow.cxx:553: `class printFiles' has no member named `dests'
> mainwindow.cxx:553: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:554: `class printFiles' has no member named `dests'
> mainwindow.cxx:556: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Cancel_i(Fl_Button*,
>    void*)':
> mainwindow.cxx:567: `class printFiles' has no member named `ppds'
> mainwindow.cxx:568: `class printFiles' has no member named `ppds'
> mainwindow.cxx:568: `class printFiles' has no member named `dests'
> mainwindow.cxx:568: `class printFiles' has no member named `dests'
> mainwindow.cxx:570: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void 
> xppMainWindow::cb_Save_i(Fl_Button*,
>    void*)':
> mainwindow.cxx:580: `cups_dest_t' undeclared (first use this function)
> mainwindow.cxx:580: `dests' undeclared (first use this function)
> mainwindow.cxx:588: `cupsGetDests' undeclared (first use this function)
> mainwindow.cxx:590: `dest_to_save' undeclared (first use this function)
> mainwindow.cxx:592: `class printFiles' has no member named `dests'
> mainwindow.cxx:593: `class printFiles' has no member named `dests'
> mainwindow.cxx:593: `cupsGetDest' undeclared (first use this function)
> mainwindow.cxx:596: `class printFiles' has no member named `dests'
> mainwindow.cxx:597: `class printFiles' has no member named `dests'
> mainwindow.cxx:598: `cupsAddDest' undeclared (first use this function)
> mainwindow.cxx:600: `class printFiles' has no member named `dests'
> mainwindow.cxx:601: `class printFiles' has no member named `dests'
> mainwindow.cxx:607: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:610: `cupsSetDests' undeclared (first use this function)
> mainwindow.cxx:615: `cupsFreeDests' undeclared (first use this 
> function)
> mainwindow.cxx:618: `class printFiles' has no member named `ppds'
> mainwindow.cxx:619: `class printFiles' has no member named `ppds'
> mainwindow.cxx:619: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:621: `class printFiles' has no member named `dests'
> mainwindow.cxx:622: `class printFiles' has no member named `dests'
> mainwindow.cxx:626: `class printFiles' has no member named `dests'
> mainwindow.cxx:627: `class printFiles' has no member named `dests'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Raw_i(Fl_Light_Button*, void*)':
> mainwindow.cxx:659: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:661: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx: In member function `void
>    xppMainWindow::cb_Apply_i(Fl_Return_Button*, void*)':
> mainwindow.cxx:693: `class printFiles' has no member named `dests'
> mainwindow.cxx:694: `class printFiles' has no member named `dests'
> mainwindow.cxx: In member function `Fl_Window*
>    xppMainWindow::xppOptionDialog()':
> mainwindow.cxx:850: `class printFiles' has no member named `ppds'
> mainwindow.cxx:852: `class printFiles' has no member named `dests'
> mainwindow.cxx:852: `cupsGetPPD' undeclared (first use this function)
> mainwindow.cxx:853: `class printFiles' has no member named `ppds'
> mainwindow.cxx:853: `ppdOpenFile' undeclared (first use this function)
> mainwindow.cxx:854: `class printFiles' has no member named `ppds'
> mainwindow.cxx:859: `class printFiles' has no member named `ppds'
> mainwindow.cxx:861: `class printFiles' has no member named `ppds'
> mainwindow.cxx:861: `class printFiles' has no member named `dests'
> mainwindow.cxx:861: `class printFiles' has no member named `dests'
> mainwindow.cxx:864: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:866: `class printFiles' has no member named `dests'
> mainwindow.cxx:869: `class printFiles' has no member named `dests'
> mainwindow.cxx:870: `class printFiles' has no member named `dests'
> mainwindow.cxx:872: `class printFiles' has no member named 
> `changed_options'
> mainwindow.cxx:1021: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1021: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1022: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1022: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1038: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1038: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1039: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1039: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1056: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1056: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1057: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1057: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1073: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1073: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1074: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1074: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1109: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1109: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1110: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1110: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1127: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1127: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1128: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1128: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1165: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1165: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1166: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1166: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1184: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1184: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1185: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1185: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1202: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1202: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1203: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1203: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> mainwindow.cxx:1236: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1236: warning:   initializing argument 1 of `void
>    Input_Slider::color(Fl_Color)'
> mainwindow.cxx:1237: warning: invalid conversion from `int' to 
> `Fl_Color'
> mainwindow.cxx:1237: warning:   initializing argument 1 of `void
>    Input_Slider::selection_color(Fl_Color)'
> make: *** [mainwindow.o] Error 1

Being a Unix newbie, i think i have bitten off more than i can chew.  
Anyway, my frustration is that this problem with the printer has put my 
use of SCRIBUS to a halt!  I am creating a document that needs to be 
sent to the printer as an eps file.  However, I am not sure if the eps 
would be exactly what I see on screen in SCRIBUS.

Question...Since I have exported to acrobat and the file seems to be 
ok, is it ok to assume that the eps file would be too?  Is there 
another way to open the eps file and see if the layout is as it is 
supposed to be?

As Peter suggested, my printing problems with Brother HL 5070N may have 
something to do with this particular printer.  However, I think there 
might be a problem with my Scribus too because, when in the print box I 
try to click on "Options", the program crashes with either

> _XF86BigfontQueryFont: could not attach shm segment
> Segmentation fault
>

or some times simply showing

> Bus error

Thank you both for taking the trouble to help me.  Your help is much 
appreciated.

-Sunil




More information about the scribus mailing list