Search found 127 matches

by rsb
Thu Jan 10, 2019 1:59 am
Forum: C++ Development
Topic: Page Setup dialog Switches to ISO_B3 from A0
Replies: 4
Views: 94

Re: Page Setup dialog Switches to ISO_B3 from A0

What do you mean by unmodified printing sample? The sample I'm using is directly from the wxWidgets archive. I didn't change
anything.
by rsb
Wed Jan 09, 2019 8:46 pm
Forum: C++ Development
Topic: Page Setup dialog Switches to ISO_B3 from A0
Replies: 4
Views: 94

Page Setup dialog Switches to ISO_B3 from A0

Hello, I invoked the Page Setup dialog from the Printer sample program and set the Paper Size to "A0", then OK'd the dialog. I then printed to our Adobe Acrobat Reader DC viewer and the page size was listed as 13.90 x 19.68 in. I then invoked the dialog a second time and the Paper Size was...
by rsb
Mon Jan 07, 2019 5:31 pm
Forum: wxCode
Topic: Black lines and text come out gray [SOLVED]
Replies: 3
Views: 217

Re: Black lines and text come out gray [SOLVED]

Looks like it was in our code after all. The ROP setting was different between our printer and our pdf.

Sorry for bringing this up.
by rsb
Mon Jan 07, 2019 5:04 pm
Forum: wxCode
Topic: Black lines and text come out gray [SOLVED]
Replies: 3
Views: 217

Re: Black lines and text come out gray [SOLVED]

I can't provide the full code, it would be too much. I did include the lines of code I'm using
to set the wxPdfDC in the original post.

The same code works correctly using the wxPrinterDC class. i.e. lines and text are black.
by rsb
Mon Jan 07, 2019 3:06 pm
Forum: wxCode
Topic: Black lines and text come out gray [SOLVED]
Replies: 3
Views: 217

Black lines and text come out gray [SOLVED]

Hello, When plotting using wxPDFDocument, we set the wxPen and wxBrush color to black as well as the text background color, but when we plot the color is a light gray. Is this by design or is there something I need to do to make sure the plot color is a true black? Thanks, Regards, Bob Bachman wxCol...
by rsb
Fri Nov 02, 2018 9:26 pm
Forum: wxCode
Topic: Problem Printing From Adobe
Replies: 1
Views: 306

Problem Printing From Adobe

Hello, We have a PDF file, attached, that was created from version 0.96 of wxPdfDocument using wxWidgets 3.1.0 on Windows 10. Compiler is Visual Studio VS14. When we try to print to an HP printer we get a message box with a message "Flattening". It times out after some time with a message ...
by rsb
Tue Oct 23, 2018 3:42 pm
Forum: Platform Related Issues
Topic: Linux: Zoom level random Printing to CUPS-PDF
Replies: 0
Views: 351

Linux: Zoom level random Printing to CUPS-PDF

Hello, Using the wxPrinter class on Linux and printing to CUPS-PDF, the Evince Document viewer comes up with a random zoom level and a random rotation. Zoom level is sometimes 100%, sometimes Fit Page Width, sometimes Best Fit. Rotation is sometimes 0 and sometimes 90 degrees. Our print orientation ...
by rsb
Mon Jul 09, 2018 7:31 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 148

Re: Printing to Adobe PDF using wxPrinter

We were using a special cursor that somehow effected the printer output. Once we disabled it, the Adobe printer output worked
fine. Not sure why this effected the output of the printer, but it fixed our problem.
by rsb
Sat Jul 07, 2018 9:49 pm
Forum: C++ Development
Topic: Printing to Adobe PDF using wxPrinter
Replies: 1
Views: 148

Printing to Adobe PDF using wxPrinter

Hello, We're having a problem printing to Adobe PDF using wxPrinter. Printing to other PDF printers like Bullzip PDF works fine. Has anyone complained about getting a corrupt PDF file when using Adobe PDF. I noticed one post that mentioned something similar. https://forums.wxwidgets.org/viewtopic.ph...
by rsb
Fri Jun 08, 2018 2:05 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 409

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Is this the best way to reset the stipple mask? wxBrush brush = dc->GetBrush() ; brush.SetStipple(wxNullBitmap) ; Also, Is there a problem drawing arcs with a stipple mask. We draw circles, polygons and arcs with a stipple mask essentially the same way. The circles and polygons work perfectly but th...
by rsb
Thu Jun 07, 2018 6:50 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 409

Re: True Type Text Disappears with Filled Arcs (Linux Only)

Yes, it was text after outline and I reversed it and it now works. I would think it would be the other way around.

Thanks!
by rsb
Thu Jun 07, 2018 6:12 pm
Forum: Platform Related Issues
Topic: True Type Text Disappears with Filled Arcs (Linux Only)
Replies: 5
Views: 409

True Type Text Disappears with Filled Arcs (Linux Only)

Hello, This is an obscure problem but I thought I would ask in case it was a know issue with wxWidgets. We have a panel where we display true type text inside a border outline, the outline consists of arc and line objects. The arc objects are displayed using a stipple mask. The border outline can be...
by rsb
Fri May 25, 2018 9:23 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 328

Re: Mirrored Text

Thank you.
by rsb
Fri May 25, 2018 6:39 pm
Forum: C++ Development
Topic: Mirrored Text
Replies: 6
Views: 328

Re: Mirrored Text

We're not drawing inside a paint event handler so I couldn't use the first option.

The second worked well when mirroring around the x or y axis.

How would the second option work for text displayed at a 45 degree rotation
or anything other than 0, 90, 180, 270.

Thanks.

Go to advanced search