PDA

View Full Version : Printing on the 770?


Karel Jansens
03-28-2006, 05:17 AM
This has probably been asked before, but I'm a thicko, so there.

As I'm not certain to what extent the Bluetooth stack on the 770 is functional, this might even be a stupid question, but, all issues about storage space and RAM aside, is it possible to get Bluetooth printing working on the 770? CUPS might be too much, but a well-thought out lpr printing system should be possible IMHO. No?

Karel Jansens
04-02-2006, 07:01 PM
I was going for the record for unanswered post with most read hits. So, did I get it?

troubleshootr
04-02-2006, 09:38 PM
I would also be interested in printing from my 770. As far as I could tell, Nokia did not include any printing capabilities. Both lp and CUPS printing are not included. I am not sure what it would take to add printing. My guess is lp support could be added. Then again I could be totally wrong.

Karel Jansens
04-03-2006, 05:12 AM
IIRC, lpe only "speaks" straight text or PostScript, so for most printers translation libraries (GhostScript?) would be needed.

But how about printing directly to PostScript printers (as I have one of those, it's easy to see my bias here)? Or network printing through a Linux box that takes care of the PostScript-to-printer stuff? I did the latter with my Newton MessagePad and while I readily admit that, in the case of the 770 (Newtons have this really really weird file structure and talk to virtually nothing in the electronic world), it might be easier to simply transfer the file and print it directly from the desktop, there is always the coolness factor to take into account.

troubleshootr
04-03-2006, 10:48 AM
I have a few network connected Postscript printers so ghostscript should not be required in my situation. I was playing with the port of Jpilot and was able to generate postscript files from this application. I chose as the print command (from some contacts that I imported from J-pilot on my desktop):

cat > /media/mmc1/record.ps

this generated a postscript file that could be dragged to the PC and printed. I am not sure if the 770 has a ftp client port, but you should be able to ftp into a postcript printer and "put" the postscript file for printing. Not ideal, but it should work. This is the only application that I found that had printing support so that is also a big limitation.

bhima
04-03-2006, 02:44 PM
There are two issues here:

1. Getting some sort of printing infrastructure working (CUPS, old fashioned lpr, etc)
2. Having apps that are willing and able to print.

The former is not all that hard - the 770 is just a linux box. The latter, however, is more of an issue. The mail and web app simply don't print. No matter what you add to the 770, they don't print.

I'm going to guess that something like the standard UNIX lpr command would literally just work on the command line after a quick recompile. If your goal is to print simple text documents, you could compile enscript and then everything would be good.

Karel Jansens
04-03-2006, 03:59 PM
I see that e.g. Abiword has printing menu entries, but they are presently greyed out. Would they become active if a printing system were to be put in place?

troubleshootr
04-03-2006, 08:04 PM
FWIW, the GPE PIM suite seems to have printing available. I have not had a chance to try it. My install of Abiword does not seem to have printing (greyed out or otherwise) or at least I could not find it. Printing from Abiword or Evince would be ideal. As bhima stated, lpr print support should not be too difficult a port (I think), but the applications would have to support printing. I would guess text files from the command line would also be possible with lpr support.

Karel Jansens
04-04-2006, 06:11 AM
Is it even remotely possible that printing might get on the Mistral roadmap?

I agree that it isn't a core task of the 770, but as long as normal networking isn't possible, it would, at least here, be appreciated.

Ceklund
05-28-2006, 12:51 AM
I can't believe printing doesn't come standard! That aside, if it's too difficult to support printing, then how about all note/word style apps supporting a 'Save As HTML' feature for export to our email addy, so we can log on to a standard computer and at least print what we've written...say using Abiword, while on the bus or train....?

As long as these programs can output the text to a printable format, they would still be useable, just not convenient.

Heck, what about someone figuring out a way to make a FAX driver that sends your print out via your 770's internet connection (phone or Wi-Fi) to a fax # you specify. Then, anywhere you go, any fax nearby would recieve your print wirelessly over the internet and down to the fax's line for the SCORE!!!

Norton's fax software did something like this.... a printer driver-to-fax engine, only it wasn't wireless or mobile like this would be .... it was less awesome. If someone takes my idea and actually writes it into action, would you at least come back and let me know that I made a difference? I need that right now.

Thanks for your time.

tuxtorials.com
09-12-2007, 07:55 AM
Just tried printing on my 770 and got it to work. Here's how

1 > Create a rule in Outlook (at work) to run a script whenever it receives an email with nokia770 as the title and has an attachment

2 > Nicked (!) a script from another forum and added it to Outlook (Open outlook, Press ALT and F11, Place it in the ThisOutlookSession part of project tree on left)

3 > Close reopen Outlook

4 > Set to print on my printer (I did it via a network printer/http to home but will work on local printer)


Any questions, please ask!

There must be a way we can do this without relying on M$
Come on everyone! Let's get to work :)

---------------------------------



Private Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Sub printAttachment(Item As Outlook.MailItem)



Dim myItems, myItem, myattachments, myAttachment As Object
Dim myOrt As String
Dim myOlApp As New Outlook.Application
Dim myOlExp As Outlook.Explorer
Dim myOlSel As Outlook.Selection
Dim strFile As String

'Set destination folder
myOrt = "C:\program files\microsoft office\"


On Error Resume Next
'work on selected items
Set myOlExp = myOlApp.ActiveExplorer
Set myOlSel = myOlExp.Selection
'for all items do...
For Each myItem In myOlSel
'point on attachments
Set myattachments = myItem.Attachments
If myattachments.Count > 0 Then
'for all attachments do...
For i = 1 To myattachments.Count
'save them to destination
myattachments(i).SaveAsFile myOrt & myattachments(i).DisplayName
strFile = myOrt & myattachments(i).DisplayName

ShellExecute 0&, "print", strFile, 0&, 0&, 0&
NextOne:

Next i

myItem.Save

End If
Next
Set myItems = Nothing
Set myItem = Nothing
Set myattachments = Nothing
Set myAttachment = Nothing
Set myOlApp = Nothing
Set myOlExp = Nothing
Set myOlSel = Nothing



End Sub

Texrat
09-12-2007, 07:42 PM
Nicely done.

Somewhere I have a post about dumping images from the N800 to bluetooth printers. So there's 2 workarounds...

TA-t3
09-13-2007, 06:16 AM
Just tried printing on my 770 and got it to work. Here's how

1 > Create a rule in Outlook (at work) to run a script whenever it receives an email with nokia770 as the title and has an attachment

Nice! But what if a spammer or ddos'er figures out your email address and the trick with nokia770 in the subject.. this would elevate spam to a new level, by forcing your printer to print spam ads to you! ;)
(Kind of like the old fax spamming)