Abstract:
A mobile telecommunication/computing device that can print to a printer, the device having a sensor therein that determines the physical orientation of the device and the device displaying documents on a display in accordance with the orientation of the device. The device sends information to a printer that directs the printer to print the document in the orientation that the document is displayed on the device. The display orientation and print orientation may be portrait or landscape. Similar methods can be used to control other printer variables or, more generally, variables on other peripheral devices.

Description:
BACKGROUND 
     As computers become smaller and more portable, it has become desirable to have increased ability to print to different printers from a portable computer or mobile telecommunications device. For example, with handheld computers approaching the size of a mobile phone, these computers and their users may often be in the vicinity of a printer that the user would like to print to. Unfortunately, most handheld devices have very little in the way of a user interface for the user to interact with a remote device such as a printer. 
     Further, the user oftentimes is acting under time pressures when operating the handheld device, such that using a cumbersome user interface for interacting with a remote device may not be desirable. In addition, such user interfaces are likely to be different than a user interface the user may customarily use on a desktop or laptop computer, such as when printing a document. It would be preferable if the user did not need to learn a different user interface for interacting with a remote device via a handheld computer. Also, printer setup and dialog boxes can impede the rapid printing of documents and they may difficult to use on the small display of a handheld device. Similarly, since it may be difficult to easily change default printer settings with the handheld device, it may make the handheld device less desirable to print from than a different device. 
     It is against this background that the present invention has been developed. The foregoing examples of the related art and limitations related therewith are intended to be illustrative and not exclusive. Other limitations of the related art will become apparent to those of skill in the art upon a reading of the specification and a study of the drawings. 
     SUMMARY 
     The mirrored remote peripheral interface includes a method implemented in a mobile telecommunication/computing device for interacting with a remote peripheral device, the mobile telecommunication/computing device including at least one sensor therein. The method includes determining an orientation or position of the mobile telecommunication/computing device by use of the sensor; and sending a command from the mobile telecommunication/computing device to the peripheral device for operation of the peripheral device, the command including information therein related to the orientation or position of the mobile telecommunication/computing device. The peripheral device can use the information to operate in a fashion in accordance with the orientation or position of the mobile telecommunication/computing device. 
     The remote peripheral device may be a printer and the orientation of the mobile telecommunication/computing device may be used to command the printer to print in one of portrait or landscape mode. The mobile telecommunication/computing device may include three orthogonal dimensions, a first dimension, a second dimension, and a third dimension, wherein the first dimension is longer than the second dimension and the second dimension is longer than the third dimension, and wherein the mobile telecommunication/computing device is rotated about an axis parallel to the third dimension to select the portrait or landscape orientation. The sensor in the mobile telecommunication/computing device includes an accelerometer. 
     The mirrored remote peripheral interface also includes a method for printing a document from a mobile telecommunication/computing device having a display thereon, the document being printed on a printer. The method includes displaying the document on the display in an orientation that corresponds to the physical orientation of the device; and sending information from the device to the printer, the information including information about the document to be printed and about the orientation in which the document is to be printed. 
     The method further includes receiving a command from a user to print the document. The method further includes printing the document on the printer in the orientation in which it was displayed on the device. The orientation of the document displayed on the device is one of portrait orientation and landscape orientation. 
     The mirrored remote peripheral interface also includes a mobile telecommunication/computing device that can print to a printer. The device includes a display that can be used to display a document stored on the device; a sensor that can determine orientational information about the physical orientation of the device; and a processor that receives the information and controls the orientation of the document being displayed on the display in accordance with the orientation of the device, the processor being further operative to control the sending of printing information including a representation of the document to the printer, wherein the printing information includes information to direct the printer to print in an orientation that corresponds to the orientation of the document being displayed on the display. 
     The orientation of the document displayed on the device is one of portrait orientation and landscape orientation. The sensor includes at least one accelerometer. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is an illustration of a handheld device in an orientation where its longer axis is generally vertical and its shorter axis is generally horizontal, wherein a document sent to the printer generates the document printed in portrait mode. 
         FIG. 2  is similar to  FIG. 1  with the handheld device in a different orientation that results in the printer generating a document printed in landscape mode. 
         FIG. 3  is a flowchart of a process for printing a document. 
     
    
    
     DETAILED DESCRIPTION 
     The following description is not intended to limit the invention to the form disclosed herein. Consequently, variations and modifications commensurate with the following teachings, and skill and knowledge of the relevant art, are within the scope of the present invention. The embodiments described herein are further intended to explain modes known of practicing the invention and to enable others skilled in the art to utilize the invention in such, or other embodiments and with various modifications required by the particular application(s) or use(s) of the present invention. 
     As shown in  FIG. 1 , a handheld telecommunication device (such as a mobile phone or smart phone) or a handheld computing device (such as a smart phone, small tablet, or other handheld computer), collectively referred to as handheld device  10 , can show on its display  11  an image  12  of a document to be printed (such as an email, a webpage, a photo, a document, a file, or most any other suitable image that can be displayed on a computer and which a user might want to print). The document to be printed is then sent by the device  10  to a printer  14  along with information instructing the printer  14  to print the document on a piece of paper  16  (or other suitable material) in one of portrait or landscape mode. As is well known in the art, the device  10  may have one or more sensors  17  therein (e.g., accelerometers) that can help the device  10  to determine its orientation or how it has been moved. 
     In the case of  FIG. 1 , the handheld device  10  is oriented with its longer dimension  18  extending in a generally vertical direction and its shorter dimension  20  extending in a generally horizontal direction. Since the display  11  on the device  10  generally has a similar aspect ratio to the aspect ratio of the device  10 , the longer dimension of the display  11  also extends in a generally vertical direction. When the display  11  is displaying an image which is taller than it is wide, the display  11  and the image can be said to be in portrait mode. In this case, the information sent to the printer  14  commands the printer to print the document on the paper  16  in portrait mode. As can be seen in  FIG. 1 , when the email that is printed on the paper  16  is in portrait mode, the paper  16  will have its longer dimension generally vertical when the paper is held so that the lines of text in the printed email are generally horizontal and the text characters are generally oriented vertically (the conventional position for a document to be read). 
     In  FIG. 2 , the device  10  has been rotated until its longer dimension is oriented generally horizontally. The sensors  17  help the device  10  to determine that it is now in this orientation. The device can then change how the image  12  is shown on the display so that the image is displayed in landscape mode in which the lines of text are generally parallel to the longer dimension of the device  10  (as contrasted with portrait mode where the lines of text are generally parallel to the shorter dimension of the device  10 ). If the user commands the device to print the document being displayed at the printer  14 , the information passed to the printer instructs the printer to print the document on the paper  22  in landscape mode. As can be seen in  FIG. 2 , when the email that is printed on the paper  22  is in landscape mode, the paper  22  will have its longer dimension generally horizontal when the paper is held so that the lines of text in the printed email are generally horizontal and the text characters are generally oriented vertically (the conventional position for a document to be read). 
     As can be seen, the orientation of the device  10  is used to control the operation of a peripheral device (in this case the printer  14 ). Of course, the orientation of the device  10  could be used to control other operations of the printer  14  or operation of another type of peripheral device. 
     There are various methods by which the device  10  can pass information relating to the orientation (portrait or landscape) in which a document should be printed. One method may include the device  10  including a printer driver for the printer  14  on which the document is to be printed. In such case, the printer driver on the device  10  creates a print job that is then routed to the printer  14 . The orientation information is used by the printer driver to create the print job differently based on the selected orientation. Another method may include the device  10  sending the document (rather than a print job) to the printer  14  or to an intermediate computer, either of which may create the print job. In such case, certain information may be provided by the user through a graphical user interface (GUI) on the device  10 , such as number of copies to print, color versus black/white, print quality level, which pages of the document to print, and so forth. Alternatively, there may be default settings for these and other print characteristics, and the user would only need to use the printer control GUI in order to change one or more of the characteristics from the default setting. All of these print characteristics, plus the orientation information (portrait versus landscape) can be passed to the printer  14  or intermediate computer, where the print job is created. In the case where the other print characteristics have default settings and the orientation is determined by the orientation of the device  10 , the user can print from the device  10  without having to otherwise control these aspects of printing such as through operation of a touch screen. 
     It is also possible that rotations other than the 90 degree rotations between portrait and landscape orientations could be used to control the printer or other peripheral device. For example, 180 degree, 270 degree, or 360 degree rotations (or greater) could also have different meanings. Further, rotations need not be in increments of 90 degrees. Such rotations might have different meanings. In addition, even as the selection of portrait or landscape mode for printing is described above, it is not a requirement that the device be oriented so that its longest axis is precisely vertical or horizontal, or even within five to ten degrees of same. The device  10  may be capable of determining whether the device is closer to being in landscape mode than portrait mode, such as when the longest axis is oriented in the range of 40 degrees from horizontal, for example. In such case, since the longest axis is closer to horizontal than to vertical, the device  10  may determine that it should display in landscape mode. 
     The device  10  may send the print job or document to the printer via any suitable means or combination of means, which may include Bluetooth, WiFi, 802.11, telephony, internet, cable (e.g., USB cable), or other. In addition to an intermediate computer, there may also or alternatively be a wireless router, other network communication device, or a local network. 
     A method  30  for printing from the device  10  to a printer  14  is shown in  FIG. 3 . The user generates ( 32 ) a print command (which may be done with any suitable method), a printer setup function ( 34 ) is then performed to gather the print characteristics for the print job. Part of this includes determining the current device orientation ( 36 ). If the device is in portrait orientation ( 38 ), the print driver ( 40 ) is provided that information and a print job is sent to the printer ( 42 ), where a document is printed on paper in portrait mode ( 44 ). On the other hand, if the device is in landscape orientation ( 46 ), the print driver ( 48 ) is provided that information and a print job is sent to the printer ( 50 ), where a document is printed on paper in landscape mode ( 52 ). 
     As discussed above, the position and orientation of the device  10  can be used to control other variables than the orientation of the print job. One example of such other variables may be related to three-dimensional printing, which is an additive manufacturing technology where a three-dimensional object is created by adding successive layers of material. In a situation where the handheld device  10  is being used to control a 3-D printing operation, translational movement of the device may be used to control the scale of the object to be printed. For example, movement of the device  10  away from the user could be a command to increase the scale of the object being created while movement of the device  10  toward the user could be a command to decrease the scale of the object being created. In addition, angular movement of the device around any of its three primary axes could change the orientation of the object being printed. For example, pivoting the device  10  around a vertical axis may change the “yaw” of the object as viewed on the printer, pivoting the device  10  around a horizontal axis (said axis being parallel to the display) may change the “pitch” of the object as viewed on the printer, and pivoting the device  10  around a horizontal axis (said axis being perpendicular to the display) may change the “roll” of the object as viewed on the printer 
     This application incorporates by reference the entirety of U.S. patent application Ser. No. 12/905,887, entitled “Mobile Printing Framework,” filed Oct. 15, 2010. 
     Any other combination of all the techniques discussed herein is also possible. The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit the invention to the form disclosed herein. While a number of exemplary aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, permutations, additions, and sub-combinations thereof. It is therefore intended that the following appended claims and claims hereafter introduced are interpreted to include all such variations, modifications, permutations, additions, and sub-combinations as are within their true spirit and scope.