Print to paper and PDF
Posted: Thu Feb 18, 2010 3:39 pm
I have looked at the User manual, Resource Centre, Lessons and the Forum, and find printing poorly explained.
Printing a simple card with a screen ratio shape in landscape can be a bit hit or miss depending if you print to a printer, pdf or the built in pdf of 4.5.0.dp2
--print routine for paper and Adobe PDF writer
answer printer
set the printmargins to 60,30,30,30
set the printpaperorientation to "landscape"
--set the printpaperorientation to "portrait"
set the printcolors to true
set the printcardborders to true
get the printRectangle
set the printscale to 0.7
print this card
-- end of print routine
With the inbuilt pdf it will not recognise landscape at all.
--print routine for built in PDF in version 4.5.0.dp2
ask file "Choose a file for the PDF:"
if it is not empty then
open printing to pdf it
set the printmargins to 60,30,30,30
set the printpaperorientation to "landscape"
--set the printpaperorientation to "portrait"
set the printcolors to true
set the printcardborders to true
get the printRectangle
set the printscale to 0.7
print this card
close printing
launch document it
end if
Now I want to print a series of GROUP objects from several cards. These GROUP objects are a small area of a large area of card (otherwise, I could keep printing full cards).
The way the groups are set out to print on the page is not clear. (there may be 4 groups to an A4 portrait arranged as a neat report)
It might also be desireable to print Bold, Underlined text headings between groups that are not part of the group.
Has anyone got a straightforward solution to this?
Printing a simple card with a screen ratio shape in landscape can be a bit hit or miss depending if you print to a printer, pdf or the built in pdf of 4.5.0.dp2
--print routine for paper and Adobe PDF writer
answer printer
set the printmargins to 60,30,30,30
set the printpaperorientation to "landscape"
--set the printpaperorientation to "portrait"
set the printcolors to true
set the printcardborders to true
get the printRectangle
set the printscale to 0.7
print this card
-- end of print routine
With the inbuilt pdf it will not recognise landscape at all.
--print routine for built in PDF in version 4.5.0.dp2
ask file "Choose a file for the PDF:"
if it is not empty then
open printing to pdf it
set the printmargins to 60,30,30,30
set the printpaperorientation to "landscape"
--set the printpaperorientation to "portrait"
set the printcolors to true
set the printcardborders to true
get the printRectangle
set the printscale to 0.7
print this card
close printing
launch document it
end if
Now I want to print a series of GROUP objects from several cards. These GROUP objects are a small area of a large area of card (otherwise, I could keep printing full cards).
The way the groups are set out to print on the page is not clear. (there may be 4 groups to an A4 portrait arranged as a neat report)
It might also be desireable to print Bold, Underlined text headings between groups that are not part of the group.
Has anyone got a straightforward solution to this?