Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by rborysov

  1. rborysov

    page orientation for printing

    Here is my code: %declare global variables /pagemarginH 0 def /pagemarginV 0 def /A4WIDTH 595 def /A4HEIGHT 842 def %procedure to set page orientation, size and margins /setPageLayoutMargins %in: (layout), pagemarginH, pagemarginV %out: - %set globals: /pagelayout, /pagewidth and /pageheight...
  2. rborysov

    auto page enumeration

    Tomas, your code with showpage works. And I don't trace PS currentpoint in my C program. But there is the last problem I couldn't solve. If a table in my generated report is multipage, I should redraw the table header on new page. Of course, drawing this header first time, I can save it to a...
  3. rborysov

    page orientation for printing

    I assigned PageSize to [792 612] and properly rotated coordinate system to deal with landscape orientation. GhostView displays my file correctly. But the printer (LJ1200) always outputs my PS as portrait. "%%Orientation: Landscape" comment takes no effect. What is wrong? How should I...
  4. rborysov

    auto page enumeration

    Tomas, Of course, I can trace PS currentpoint in my C program. For this I need repeatedly perform some transformations, e.g. number of text lines (of various fonts) and borders of table to PS points. Nevertheless, I think such an approch will work. Thank you. I was interested in continious...
  5. rborysov

    auto page enumeration

    I'm trying to generate some reports in Postscript from my C++ program. When the report exceeds one page I need properly insert "%%Page: label NUMBER" comment into the ps-file. Starting generating the ps-file I don't know the total number of pages. I attemped to declare...

Part and Inventory Search

Back
Top