Printer madness (H/P Printers)

Check here for answers to frequently asked questions.

Printer madness (H/P Printers)

Postby Ken Norris » Thu May 28, 2009 9:30 pm

Lord, I hate printers!!!

Anyway, I'm trying to print out a card with 8 fields, but the content of 4 of them just won't print (they come out empty on the paper).

I've looked and looked, scratched my head too much, swore too much. For the life of me I can find no logical reason whatsoever why this is happening.

Now, when I take a screen shot of the card and print that, everything is there (I expected that). All the settings for the fields are unchanged. The two client data fields are Helvetica bold - they print OK. The billing date field and invoice number field are the same ... they do not print. The main content (studio services rendered) is Monaco (monotype), and so is the date field and the amount field. The services field and the amount field both print, but the date field does not. The Total field is Monaco bold ... it does not print.

Does anyone have a clue what the heck is going on?
All the best,
Ken N.
http://fhtinyradio.com/
kenn@fhtinyradio.com
User avatar
Ken Norris
 
Posts: 284
Joined: Mon Nov 03, 2008 7:27 pm

Re: Printer madness

Postby Scott » Fri May 29, 2009 5:11 am

H/P printer?
User avatar
Scott
Site Admin
 
Posts: 1233
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Printer madness

Postby Ken Norris » Fri May 29, 2009 8:24 am

supercardus wrote:H/P printer?



Yes, but that shouldn't matter. It prints a screen shot perfectly (BTW that's one of the utilities SC is in dire need of, IMO), I just don't want to have to deal with that every time.
All the best,
Ken N.
http://fhtinyradio.com/
kenn@fhtinyradio.com
User avatar
Ken Norris
 
Posts: 284
Joined: Mon Nov 03, 2008 7:27 pm

Re: Printer madness

Postby Scott » Fri May 29, 2009 9:12 am

Believe me... it matters. H/P has a history of breaking certain aspects of its pict parsing. In this case, text assigned a black textColor. We have worked with them (which they make very difficult) in the past to fix this issue only to see it broken in the next version.

Make sure you are using the most up to date driver and if that still does not help, you can work around the issue by setting the textColor of your fields to 255 (or any other color than 256).

I am going to :arrow: this one to the FAQ section.
User avatar
Scott
Site Admin
 
Posts: 1233
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Printer madness

Postby Ken Norris » Fri May 29, 2009 10:51 pm

supercardus wrote:Believe me... it matters. H/P has a history of breaking certain aspects of its pict parsing. In this case, text assigned a black textColor. We have worked with them (which they make very difficult) in the past to fix this issue only to see it broken in the next version.

Make sure you are using the most up to date driver and if that still does not help, you can work around the issue by setting the textColor of your fields to 255 (or any other color than 256).

I am going to :arrow: this one to the FAQ section.


OK, thanks ... driver is latest AFAIK ... but why does it never have a problem printing ordinary images and RTF text from TextEdit or Preview? IOW, it seems that the only time it has the problem is when printing a SC card.

I will try the color setting trick. Thanks again.
All the best,
Ken N.
http://fhtinyradio.com/
kenn@fhtinyradio.com
User avatar
Ken Norris
 
Posts: 284
Joined: Mon Nov 03, 2008 7:27 pm

Re: Printer madness

Postby Scott » Sat May 30, 2009 6:03 am

Ken Norris wrote:but why does it never have a problem printing ordinary images and RTF text from TextEdit or Preview?

Because neither of those render to pict when printing.
IOW, it seems that the only time it has the problem is when printing a SC card.

Any application that is pict based will have issues (such as FileMaker).
User avatar
Scott
Site Admin
 
Posts: 1233
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Printer madness (H/P Printers)

Postby Anderson » Sat May 30, 2009 6:59 am

I tried printing a card after reading this Subject and Print Preview doesn't display some text on a card. I've been using export cd ... to jpeg file as a printing strategy.

Picture 3.png
Picture 3.png (11.76 KiB) Viewed 4896 times

displays like this in print preview
Picture 2.png
Picture 2.png (7.67 KiB) Viewed 4898 times


(see my next reply for another example from the same card - I couldn't Upload all 4 files here)

R.A.
Anderson.
iMac - Yosemite - SC(4.73)
User avatar
Anderson
 
Posts: 215
Joined: Mon Jul 21, 2008 9:00 am
Location: Perth County, Canada

Re: Printer madness (H/P Printers)

Postby Anderson » Sat May 30, 2009 7:10 am

Attachment to my previous post.

card shows on screen like this:
Picture 4.png
Picture 4.png (21.29 KiB) Viewed 4894 times


print preview displays it like this:
Picture 1.png
Picture 1.png (17.1 KiB) Viewed 4895 times


R.A.
Anderson.
iMac - Yosemite - SC(4.73)
User avatar
Anderson
 
Posts: 215
Joined: Mon Jul 21, 2008 9:00 am
Location: Perth County, Canada

Help with Script work around for HP printer

Postby marckno » Tue Dec 28, 2010 1:45 pm

Since HP printers won’t print black (256) data fields, I wrote this script to change all the background text fields on the card to dark gray (255).

on mouseUp
repeat with x = 1 to the number of cards
put the number of bg fields into NoOfFields
repeat with z = 1 to NoOfFields
set the textColor of background field z to 235
end repeat
go next card
end repeat
end mouseUp

Works fine.

The following script takes data from one window (Giving Records) and puts in into another called “Giving Report” for layout and printing. It creates a new card for each Giving Record that is not blank. It works perfectly.

on mouseUp
open window "Giving Records.st45"
repeat with y=1 to number of cards
go card y
put bg field "Date" into malachigift
if malachigift is empty
then next repeat
else
open window "Giving Report"
doMenu "Last Card"
click at loc of bg button "Import"
doMenu "New Card"
open window "Giving Records.st45"
end if
end repeat
open window "Giving Report"
end mouseUp

Here’s the problem: When I combine the two scripts into one button, the script chokes on the line:
set the textColor of background field z to 255

Why will both scripts work fine separately, but the text field color change will not work when in the other script?

I get error number 13: Expected long integer but found something else.
Cursor blinks at the line: set the textColor of background field z to 255
marckno
 
Posts: 1
Joined: Tue Dec 28, 2010 1:41 pm

Re: Printer madness (H/P Printers)

Postby LorenzT » Tue Dec 28, 2010 11:54 pm

Most probably the focus of your script is on another window.
Try: set the textColor of bg fld z of wd "Giving Report" to 235

Similarly you could also simplify your repeat loop:

on mouseUp
-- open window "Giving Records.st45" -- no need to open the wd
repeat with y=1 to number of cards of wd "Giving Records.st45"
-- go card y -- no need to go to the cd
put bg field "Date" of wd "Giving Records.st45" into malachigift

HTH, Lorenz
LorenzT
 
Posts: 176
Joined: Thu Dec 02, 2010 2:32 am
Location: Switzerland


Return to SuperCard FAQ

Who is online

Users browsing this forum: No registered users and 1 guest

cron